2.0.6 • Published 6 months ago

react-simple-loadable v2.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

React Simple Loadable HOC

This is simple loadable component based on Class React Component

Usage

import { loadable } from "react-simple-loadable";

loadable(async () => {
  return (await import('./your-component')).YourNamedComponent
}, 
  SkeletonComponent
)
import { loadable } from "react-simple-loadable";

loadable(async () => {
  return (await import('./your-component')).YourNamedComponent
},{
  loader: SkeletonComponent,
  extra: () => <div>renders with the lazy component</div>
})
2.0.6

6 months ago

2.0.5

6 months ago

2.0.4

7 months ago

2.0.3

7 months ago

2.0.2

7 months ago

2.0.1

7 months ago

2.0.0

7 months ago

1.0.0

8 months ago