garage
v0.0.7
Published
Fully functional state container
Downloads
47
Readme
Features
- 🔩 Easily Customizable
- 🕊 Lightweight - less than 5kb including styles
- ✅ Accessible
Installation
With yarn
yarn add garage
With NPM
npm install garage
Getting Started
Add the Garage to your app first. It will take care of all your states. Now you can access your states from anywhere!
import { Garage, createStore } from 'garage';
import App from './App';
const store = createStore();
const Index = () => {
return (
<Garage store={store}>
<App/>
</Garage>
);
};
Documentation
Find the full API reference on official documentation.