kea-loaders
TypeScript icon, indicating that this package has built-in type declarations

3.0.1 • Public • Published

NPM Version minified minified + gzipped Backers on Open Collective Sponsors on Open Collective

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 })]
})

Sample usage

Read the documentation

Readme

Keywords

none

Package Sidebar

Install

npm i kea-loaders

Weekly Downloads

9,664

Version

3.0.1

License

MIT

Unpacked Size

47.8 kB

Total Files

12

Last publish

Collaborators

  • mariusandra