solid-primitives
solid-primitives copied to clipboard
A library of high-quality primitives that extend SolidJS reactivity.
Probably it's just me but I'm struggling to get this library working with SolidStart. I'm just trying the first basic example in a new (bare) SolidStart project, but I always...
So, I was using `createStorage` with an object interface like this: ```ts const [appStore, setAppStore] = createStorage() ``` As I used the `setAppStore()`, and set the first parameter, I expected...
### Describe The Problem To Be Solved Utilities for working with nested reactivity in a modular way. See previous discussion: - https://github.com/solidjs/solid/issues/506 - https://github.com/solidjs/solid/discussions/944 Originally described by @clinuxrulz: > Say...
Why this library has no toggle :) ```ts function createToggle(initialValue) { const [value, setValue] = createSignal(initialValue) const toggle = setValue(value => !value) return [value, toggle] } ```
### Describe The Problem To Be Solved Reproduce by creating a new solid-start project from the `bare` template with SSR and change the line in Counter.tsx to: const [count, setCount]...
### Describe The Problem To Be Solved As a developer I don't want to have to come up with an project-wide unique key for each piece of text that needs...
- Added useUserAgent primitive, which allows for the user to retrieve the user agent string on the client or the server - Restructured code slightly, so that different start primitives...
### Describe The Problem To Be Solved As a developer it would be nice to just use the t method with a default value for development and afterwards extract all...
WIP This PR is an effort to resolve Issue #466 by taking the best of both worlds from `transition-group` and `presence` As mentioned in #466 `presence` primarily works by deriving...
### Describe The Problem To Be Solved There should be a way to ignore / opt out of shortcuts while typing in an input / select / textarea element. For...