# slim-react-loadable

> explore how react-loadable works and explain it is typescript

Latest version **1.0.9** (published 2019-11-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install slim-react-loadable
pnpm add slim-react-loadable
yarn add slim-react-loadable
bun add slim-react-loadable
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.9 |
| Published | 2019-11-28 |
| First published | 2019-11-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 17.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | lemonzhang |
| Maintainers | lemonzhang |

## Links

- npm: https://www.npmjs.com/package/slim-react-loadable
- Repository: https://github.com/lemondreamtobe/slim-react-loadable
- Homepage: https://github.com/lemondreamtobe/slim-react-loadable#readme
- Issues: https://github.com/lemondreamtobe/slim-react-loadable/issues
- npm.io page: https://npm.io/package/slim-react-loadable

## Dependencies (3)

- [react](https://npm.io/package/react.md) ^16.8.6
- [@types/node](https://npm.io/package/@types/node.md) ^12.12.12
- [@types/react](https://npm.io/package/@types/react.md) ^16.8.23

## Recent versions

- 1.0.9 (latest) — 2019-11-28
- 1.0.8 — 2019-11-28
- 1.0.7 — 2019-11-25
- 1.0.6 — 2019-11-25
- 1.0.5 — 2019-11-25
- 1.0.4 — 2019-11-25
- 1.0.3 — 2019-11-25
- 1.0.2 — 2019-11-25
- 1.0.1 — 2019-11-25
- 1.0.0 — 2019-11-25

## README

# 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
  
```

---
_Source: https://npm.io/package/slim-react-loadable · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
