stdlib-solid
Installation
SKILL.md
stdlib-solid -- SolidJS Reactive Primitives
All primitives are imported from a single entry point:
import { mutation, timed, hotkeys, dnd, detailPanel, localStore, clipboard, clickOutside, dropzone, a11y } from "@valentinkolb/stdlib/solid";
Key Patterns
- All primitives that register listeners or timers auto-cleanup via SolidJS
onCleanup. - Most
createfunctions must be called inside a SolidJS component or reactive owner (createRoot). - Each module is exported as a namespace object with static methods (e.g.
mutation.create(...),timed.debounce(...)).
mutation
Async mutation controller with reactive loading/error/data signals, abort, and retry. Follows a pattern similar to React Query's useMutation.
Related skills