Get started with SolidJs as a Developer in React

Get started with SolidJs as a Developer in React

A quick SolidJs guide, coming from the perspective of a React Developer.

ยท

2 min read

This is a quick guide to getting started with the full-blown reactive JavaScript framework, coming from the perspective of a React Developer. Comprehensive guide coming soon, watch out!

Steps

Step 1

create the folder for your new project

Step 2

Open the project folder in your favourite code editor (i.e. vscode)

Step 3

Run this command in your terminal:

npx degit solidjs/templates/js  .

Take note, if you are running windows and PowerShell is your default, you may receive an error. Do switch to Git Bash in your terminal to run flawless on windows.

Step 4

Run the command:

npm i

for yarn, run

yarn add

Step 5

Open your package.json file to cross-check the dependencies installed.

Step 6

As a developer in react, you may be searching already for dependencies such as router, styled-components, or react-icons

Search no further, Solidjs got you, by simply running this command

npm i solid-styled-components solid-icons @solidjs/router

for yarn, run

yarn add solid-styled-components solid-icons @solidjs/router

Step 7

Run the command:

npm start:

and get your application running in the powerful & sleek SolidJs framework! ๐ŸŽ‰

There you go!

๐ŸŽ‰ Welcome to the SolidJs Reactive Community!

Further Reading

Acknowledgement

Dev P Academy

Thanks for engaging! ๐ŸŽ‰

ย