top | item 43298969

(no title)

gg2222 | 11 months ago

To the author: Yes, do consider SolidJS seriously. I find that its reactivity system is simple and the easiest to reason about, with none of the messiness and constant changes to "the best practice way to do things" like React has gone through the years.

SolidJS seems designed right so that it doesn't need so many major revisions and it feels quite stable.

It feels like an evolved React that is simpler to use.

Also its signals and stores can be used in normal .ts files, so it is easier to create re-usable "stores".

edit: BTW haven't been following Svelte but it's already version 5? I thought it was the newest framework.

discuss

order

sesm|11 months ago

Looked at SolidJS, it's primary mechanism is signals, which are essentially runtime edit maps. They have the same downside as all other types of edit maps - programmer needs to compose them manually, which becomes messy very quickly with loops and conditions.

baxuz|11 months ago

What are edit maps?

zwnow|11 months ago

>> SolidJS seems designed right so that it doesn't need so many major revisions

Which is exactly what is said about every framework

Wazako|11 months ago

It's different with solid-js, which is more of a library than a real framework.

The solid-js surface is relatively small, the jsx / css is identical to the native, the Hook simply builds the DOM once. solid-js therefore brings above all a createSignal that adds an observer where it is called in the DOM to directly update the DOM accordingly.

You might think of solid-js more as a signal primitive than a real framework.

tglide|11 months ago

> SolidJS seems designed right so that it doesn't need so many major revisions and it feels quite stable.

lol https://github.com/solidjs/solid/discussions/2425

gg2222|11 months ago

Yes I know SolidJS 2.0 is coming. I said "it doesn't need so many major revisions", key word being "so many".

(Telling myself: damn should of put that in my original comment cause of course someone's gonna comment that.)

0xblinq|11 months ago

It’s major version 2. Compare that to the amount of major (and really breaking, like Vue) for all other frameworks.

LOL

0xblinq|11 months ago

Solid is so underrated.

The simplicity and the power it brings is so good.

I’ve also used SolidStart for a project and it’s by far the best meta framework I’ve tried so far. Again, simplicity, power and extensibility.

flessner|11 months ago

SolidJS is extremely well crafted signaling, I like it.

However, the SolidJS ecosystem falls behind when building a full web application: The router is okay? Metadata is very separate... and SolidStart isn't pulling it all together in the way it should. Working with async is also a mess.

This makes it feel like you're having to learn 3-4 entirely separate systems.

rxliuli|11 months ago

Yes, what I want might be some better React, like JSX, but I don't like the complexity introduced by hooks and the binding of Next.js.

bossyTeacher|11 months ago

The best time to learn React and use it was while it was small and literally just a library.