A memo is a read-only derived value.
14 Matching Annotations
- Last 7 days
-
v2.solidjs.com v2.solidjs.com
Tags
Annotators
URL
-
-
jsmanifest.com jsmanifest.com
-
const count = signal(0); const doubled = computed(() => count.value * 2);
I like this syntax better than Solid's. It returns a single object (with .value) rather than explicit getter/setter.
I wonder if there's a way to use similar syntax in Solid? Don't see any reason why we couldn't easily wrap createSignal with a nicer API.
-
- Jul 2023
- Feb 2023
-
ogzhanolguncu.com ogzhanolguncu.com
Tags
Annotators
URL
-
- Oct 2020
-
github.com github.com
-
So while Solid's JSX and might resemble React it by no means works like React and there should be no illusions that a JSX library will just work with Solid. Afterall, there are no JSX libraries, as they all work without JSX, only HyperScript or React ones.
-
-
github.com github.com
-
Remember even though the syntax is almost identical, there are significant differences between how Solid's JSX works and a library like React.
-
-
-
-
Solid’s State primitive is arguably its most powerful and distinctive one. Through the use of proxies and explicit setters it gives the control of an immutable interface and the performance of a mutable one
-
The fun thing here is that SolidJs doesn’t uses virtual dom instead of that it uses fine-grained updates.
-
-
-
Solid supports most React features like Fragments, Portals, Context, Suspense, Error Boundaries, Lazy Components, Async Rendering, Implicit Event Delegation, SSR
-
-