@restate/dev-tools
v0.13.5
Published
_Restate_ is a predictable, easy to use, easy to integrate, typesafe state container for [React](https://reactjs.org/).
Downloads
49
Maintainers
Readme
RESTATE DEV TOOLS
Restate is a predictable, easy to use, easy to integrate, typesafe state container for React.
Restate uses the excellent ReduxDevTools to provide power-ups for your development workflow.
Installation
Go and get the ReduxDevTools for your browser:
- Google Chrome
- Firefox
Then install the @restate/dev-tools
yarn add @restate/dev-tools
Usage
import { connectDevTools } from "@restate/dev-tools"
const store = createStore({
state: {
name: "John Snow",
age: 32
},
options: {
storeName: "MY APP STORE" // <-- will show up in the instance selector
}
})
connectDevTools(store)