Loaders plugin for kea. Works with kea 1.0.0
and up.
Loaders abstract away a "request / success / failure / loading" pattern, common in web applications.
Add the package:
yarn add kea-loaders
... then add it to kea's plugins list:
import { loadersPlugin } from 'kea-loaders'
resetContext({
plugins: [loadersPlugin({ ...options })]
})