1.0.9 • Published 4 years ago

slim-react-loadable v1.0.9

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

slim-react-loadable

 one day, when i use react-loadable in my project 
 i felt so interested in how it works in split some components
 so i try to explore the magic of it
 here i take the core of principle of react-loadable, and explain it in typescript
 that's why slim-react-loadable here

usage

import Loadabler from 'slim-react-loadable';

const loadExample = new Loadabler({
  loader: () => import('./demo'),
  loading: () => null,
});

return loadExample.createLoadableComponent();

Api

├── createLoadableComponent  # make an object of loadable               
├── preload  # load component before use it
  
1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago