react-simple-loadable
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

React Simple Loadable HOC

This is simple ErrorBoundary component

Usage

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

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

Package Sidebar

Install

npm i react-simple-loadable@1.0.0

Version

1.0.0

License

MIT

Unpacked Size

4.55 kB

Total Files

9

Last publish

Collaborators

  • js2me