DEV Community


Discussion on: Solid - The best JavaScript UI library?

beggars profile image
Dwayne Charrington

It is all a matter of preference. To me, SOLID looks like React to the point where you might as well just use React. Performance-wise, coding for benchmarks and coding for real-world applications are two separate things. In the real world, you have to deal with different browsers (with different spec implementations and performance quirks) as well as a plethora of different hardware combinations and screen sizes.

I am sure that SOLID is a great library, but you could make the same argument for almost every other library and some frameworks like Aurelia that performance-wise, they're faster than React.

ryansolid profile image
Ryan Carniato

I agree. You can make that argument for any library really and it definitely comes down to risk tolerance. Interestingly enough even though it looks like React it works significantly differently. Like as different as Svelte is from React. No Hook Rules etc, different update model, Context works differently, Global State management. I'd argue it can lead to a more intuitive model.

Then there are other types of requirements. Code size is one that people are sensitive to, beyond just performance. People use Preact solely based on size. But these really don't make up for a mature ecosystem. But for me that keeps things simple.

Solid has no business existing unless it can be significantly better in the areas it attacks. Not better performance, the best performance. Not smaller, the smallest. Not most of the features, all/more the features. You can't always achieve that but it keeps the project hungry and keeps it chasing after innovation and improvement.