solid-primitives
solid-primitives copied to clipboard
A library of high-quality primitives that extend SolidJS reactivity.
## Summary - This PR adds the `createSpring` primitive. Inspired and Forked from https://svelte.dev/docs/svelte-motion#spring - The API works exactly like createSignal, just that the setter will actually interpolate the value....
### Describe the bug Hi ! I wrote this code earlier and found out it was never triggering : ```typescript const [audio, controls] = createAudio(track, () => state.playing, () =>...
To avoid errors with cloudflare + solid-start, the tauriStorage has been moved to a submodule (filesystem comes later).
FIxes https://github.com/solidjs-community/solid-primitives/issues/530
### Describe the bug When creating a cookie using makePersistent, you cannot set the cookie server-side in any way. There is no way to cause the code to set the...
I'm getting an error in a project of mine which has a custom component. This component accepts a `ref` essentially as `ref?: Ref` _(other details omitted for brevity)_. When consuming...
### Describe the bug Create a persisted signal using `cookieStorage` and passing the `maxAge` option, but the created cookie is a session cookie. In the linked StackBlitz project, click "Open...
### Describe the bug After updating to the latest @solid-primitives/storage, a build error occurred in solid-start. ### Minimal Reproduction Link NO
In Firefox the onload attribute is not always triggered on script element so we instead use script.addEventListener('load')