slevisp / solidjs-state
PublicA tiny SolidJS state helper that unifies createSignal and createStore behind one createState API with typed selectors.
A tiny helper library for SolidJS that automatically picks the best way to store your data based on what type you give it, while keeping the reading interface consistent.
How It Works
You find this tiny helper while building a SolidJS app and looking for easier ways to handle state.
You install the package with one simple command and it works alongside your existing Solid setup.
Instead of choosing between different approaches, you just call createState with your data and it figures out the best way to store it.
Whether you have a simple number or a complex object with nested lists, you always read values the same way: state().
You change your data with a simple setState call, and everything updates automatically across your app.
Your code is clean and simple, with state management that feels natural no matter what kind of data you're working with.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.