signals
signals copied to clipboard
A tiny (~1kB minzipped) and extremely fast library for creating reactive observables via functions.
No reaction?
*Don't feel obligated to respond to this at all.* 😄 But I had this thing based on another reactive library: https://codesandbox.io/s/reactive-dom-lifecycle-zhzw7 A basic, working Sinuous clone using `dipole`. Well, your...
I'm trying to implement maverick signals on https://pota.quack.uy/ . Solid and voby (oby) signals already work. I'm having an issue with context, when using `getContext` inside `untrack` it will return...
looks like it'd be part of the API, no?
oby's perf is on par with solid
``` ❯ node bench/layers.js ┌──────────┬───────┬───────┬────────┬─────────┬─────────┐ │ │ 10 │ 100 │ 500 │ 1000 │ 2000 │ ├──────────┼───────┼───────┼────────┼─────────┼─────────┤ │ maverick │ 24.72 │ 47.93 │ 263.59 │ 593.43 │ 1486.25...
Closes https://github.com/maverick-js/signals/issues/28
https://github.com/maverick-js/signals/blob/65f7fe9816595d3212130c3cc7d60986e6b8d346/src/core.ts#L268 Once we had a discussion on keeping the language semantics when handling errors in SolidJS. Solid did not allow throwing falsy values as errors even though the language permits...
None of the examples pass the TypeScript (5.5.2 in my case) checker due to package.json having set `"type": "module"` yet referencing imports without extensions. This causes TypeScript to fail to...
I have been trying to create a more comprehensive example that includes one-to-one (easy), one-to-many, and many-to-one relationships between signals. For this example I came up with the following two...