# basic-store **Repository Path**: mirrors_jackmoore/basic-store ## Basic Information - **Project Name**: basic-store - **Description**: A really basic reactive state implementation - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-01-12 - **Last Updated**: 2026-10-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # DEPRECATED Use [unistore](https://github.com/developit/unistore) instead, it's extremely similar but better documented and vetted. I will continue using basic-store for my own purposes because I like each the previousState being supplied to subscribers. # Basic Store A really basic reactive state implementation. ## Install ``` npm install basic-store ``` ## Example ``` js import basicStore from './basic-store' const store = basicStore() store.subscribe((state, prevState)=> { console.log(state.message) }) store.setState({ message: 'Hello World' }) ``` ## License MIT