solid-primitives icon indicating copy to clipboard operation
solid-primitives copied to clipboard

A library of high-quality primitives that extend SolidJS reactivity.

Results 83 solid-primitives issues
Sort by recently updated
recently updated
newest added

### Describe The Problem To Be Solved `presence` is super helpful for transitioning between components without unmounting them. However, it is missing some features that are present in `transition-group` despite...

enhancement

Using context with `jsx-tokenizer` can be [quite painful](https://github.com/solidjs-community/solid-primitives/tree/main/packages/jsx-tokenizer#usage-with-context-api). To remedy this I have been using a utility-function `withContext` in my side-project [solid-canvas](https://github.com/bigmistqke/solid-canvas) [(see)](https://github.com/bigmistqke/solid-canvas/blob/main/src/utils/withContext.tsx). I modified this function into `withContext` and...

**I'd like to contribute a primitive for the [`requestVideoFrameCallback` API](https://wicg.github.io/video-rvfc/).** Fundamentally it works the same as `requestAnimationFrame`, but with some convenient features for videos such as not requesting redundant frames...

### Describe The Problem To Be Solved reactively use location hash ### Suggest A Solution ```ts const locationHash = useLocationHash(); createEffect(() => { console.log(locationHash()); // => '#' + string });...

enhancement
PRs welcome

### Describe The Problem To Be Solved The handling of reactive delays [explained here](https://github.com/solidjs-community/solid-primitives/tree/main/packages/timer#note-on-reactive-delays) isn't something the user can customize or even opt-out from. ### Suggest A Solution Maybe this...

enhancement
PRs welcome

When using Solid's native handlers such as `onClick()`, events are delegated. Handlers created in this library do not use delegated events and instead opts for native handlers. That means that...

enhancement

- exports a createForm primitive - Uses lodash.set to handle nested sets - Uses zod to do schema validations - Returns a handleSubmit function to put onto a form -...

When navigating pagination with the keyboard, focus is not shifted by the primitive to the active page element. As a result, the currently focused page element can eventually be destroyed...

The storage object returned by `createCookieStorage` returns a `StorageObject`. I wanted to get rid of the `any` and use a stronger type, so I tried this: ```ts const [settings, getSettings]...