<@U01MV4U2EV9> In a previous chat about Solid, you...
# random
b
@thdxr In a previous chat about Solid, you mentioned you’re a big solidjs guy https://serverless-stack.slack.com/archives/C01JG3B20RY/p1653048207559409?thread_ts=1653046424.167439&amp;cid=C01JG3B20RY. Just curious why you prefer SolidJs vs maybe something like Svelte? I can see it being an easier mental model for someone coming from React being used to hooks, but the syntax seems more verbose than Svelte. Now I’m by no means against SolidJs; it looks pretty amazing, but I’m just more used to Svelte’s terser syntax. What are your thoughts?
t
hey! Yeah that is a good point however if you do like the terseness of svelte there is a plugin for solid called solid-labels ultimately the biggest difference between solid and svelte is Svelte took a crazy approach and produced something pretty impressive. It works pretty well most of the time but of course there's some weirdness like with
arr = arr
Solid is a bit hard to explain, the feeling is that wow I'm just writing normal JS, this is so simple why didn't anyone think of this before. It's hard to really explain why so I'd suggest trying it yourself for a month or so.
Svelte represents what you get if you go to the extreme of a compiler based approach. Solidjs is more on the runtime reactivity approach + a little compiler
b
Thanks for that Dax. I’m definitely going to give SolidJs a spin