Springbok
A minimal state management library for modern applications. Simple, fast, and TypeScript-first.
npm i @cn-m/springbok-corenpm i @cn-m/springbok-reactA minimal state management library for modern applications. Simple, fast, and TypeScript-first.
npm i @cn-m/springbok-corenpm i @cn-m/springbok-reactZero dependencies and a tiny bundle size. Built for performance without sacrificing developer experience.
Built with TypeScript from the ground up. Get full type safety and excellent IntelliSense support out of the box.
Use with React, Vue, or vanilla JavaScript. Adapters available for popular frameworks with consistent APIs.
import { create } from '@cn-m/springbok-react'
const useStore = create((set) => ({
  count: 0,
  increment: () => set((state) => ({ count: state.count + 1 })),
  decrement: () => set((state) => ({ count: state.count - 1 })),
}))function Counter() {
  const { count, increment, decrement } = useStore()
  
  return (
    <div>
      <p>Count: {count}</p>
      <button onClick={increment}>+</button>
      <button onClick={decrement}>-</button>
    </div>
  )
}Initial release with TypeScript support, React adapter, and vanilla JavaScript core.
Browser extension for debugging state changes, time-travel debugging, and performance monitoring.
Official adapters for Vue.js, Svelte, and Angular with framework-specific optimizations.
Built-in persistence with localStorage, sessionStorage, and IndexedDB support with automatic hydration.