kea-loaders
v3.0.1
Published
Action Listener side-effects for Kea
Downloads
28,227
Readme
kea-loaders
Loaders plugin for kea. Works with kea 1.0.0
and up.
What and why?
Loaders abstract away a "request / success / failure / loading" pattern, common in web applications.
Getting started
Add the package:
yarn add kea-loaders
... then add it to kea's plugins list:
import { loadersPlugin } from 'kea-loaders'
resetContext({
plugins: [loadersPlugin({ ...options })]
})