Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Isn't SolidJS supposed to be like React (in that it has JSX, hooks etc) but without the VDOM? So I guess that would sidestep your point #2, but curious to hear your thoughts on it.

Personally I don't use Svelte, Vue, Solid etc simply due to the (lack of) library support compared to React. For example, I wanted to do something in 3D the other day and reached for react-three-fiber, there simply isn't something comparable in the non-React world.



SolidJS also sacrifices expressivity for performance (ie you need to do contortions like this[1] to build dynamic lists), so I prefer React to it. However, I like its approach more than Svelte because there’s less of a DSL to learn.

[1] https://www.solidjs.com/tutorial/flow_for


> For example, I wanted to do something in 3D the other day and reached for react-three-fiber, there simply isn't something comparable in the non-React world.

Respectfully, that is because you dont _need_ anything other than ThreeJS in the other frameworks.

I do find it interesting that it says it performs faster due to reacts scheduler.


> Respectfully, that is because you dont _need_ anything other than ThreeJS in the other frameworks.

Not really, ThreeJS is imperative, react-three-fiber is declarative. I use the latter for the same reason I use React over jQuery, I don't have to mess around with appending nodes, I can lay out my view declaratively and have the framework fill in the rest.


You don't _need_ react-three-fiber to embed ThreeJS in React component either.

The point of react-three-fiber is that it allows you to use React's declarative rendering model to render your scene.


> reached for react-three-fiber, there simply isn't something comparable in the non-React world.

This came out a year ago now.

https://svelthree.dev/ https://github.com/vatro/svelthree

Svelte, Vue, etc. all have plenty of awesome libraries - you just need to be aware of them.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: