DEV Community 👩‍💻👨‍💻

Cover image for React vs Solid - Seriously?
Chad Steele
Chad Steele

Posted on

React vs Solid - Seriously?

There is no contest.

SolidJS is faster, better, and easier to learn and maintain. If you're already a React developer, you're already a Solid developer. You'll just type a lot less in Solid and spend less time debugging. If your company is still investing in React in any way at all, you're wasting lots of time and money. Enjoy.

Image description

Start here https://www.solidjs.com/tutorial/introduction_basics

It's fun!

Top comments (10)

Collapse
 
brense profile image
Rense Bakker

Yea ecosystem is a huge problem, it's not mature yet.

Collapse
 
chadsteele profile image
Chad Steele Author

javascript has a massive ecosystem. solidjs is just javascript + jsx... there is nearly nothing added. Truly. Read about it before you dismiss it for a bandwagon
solidjs.com/tutorial/introduction_...

Collapse
 
brense profile image
Rense Bakker

Component libraries.

Thread Thread
 
chadsteele profile image
Chad Steele Author

Again, any vanilla javascript library is a solid library

Thread Thread
 
brense profile image
Rense Bakker

Yes, but React component libraries are not vanilla JS. React has a very mature ecosystem that allows developers to write applications really fast. Some of those React libraries are based on vanilla JS libraries, but some are not and untill those get ported to Solid, React will remain more popular for enterprise apps.

Thread Thread
 
chadsteele profile image
Chad Steele Author

No port necessary with Solid. Check it out. I see you're highly invested in React and write often about it. Just try SolidJS on a small project. I'll bet you'll convert. ❤️❤️❤️

Thread Thread
 
brense profile image
Rense Bakker

I have and it does not yet meet my requirements. For example, there is no mature mui library for solid yet.

Thread Thread
 
chadsteele profile image
Chad Steele Author

What's not in suid.io you can easily find in mui.com/core/, but again, it's not necessary like React because it's vanilla js compatible.

Collapse
 
lambrero profile image
Avin Lambrero

ecosystem?)

Collapse
 
chadsteele profile image
Chad Steele Author

javascript has a massive ecosystem. solidjs is just javascript + jsx... there is nearly nothing added. Truly. Read about it before you dismiss it for a bandwagon
solidjs.com/tutorial/introduction_...

Need a better mental model for async/await?

Check out this classic DEV post on the subject.

⭐️🎀 JavaScript Visualized: Promises & Async/Await

async await