Store and state
The first thing you need to do to use Kiss is to create a store,
Provide the store
To provide the store you just created to all your app,
Components use the state
Once you wrapped your app with a StoreProvider,
Actions and reducers
In Kiss, an action is any class you create that extends KissAction.
Changing state is optional
For both sync and async reducers, returning a new state is optional. If you don't plan on changing
Dispatching actions
As previously discussed, the store's state is immutable.
Hooks to dispatch actions
You can use the provided hooks to dispatch actions from inside React components,
User exceptions
Actions that fail can simply throw errors.
Wait, fail, succeed
A common pattern in app development involves having a process that can either succeed or fail.
Events
Some things in a React app belong to the component, not to the state.
Counter app examples
This concludes the basics of Kiss.