A quick and easy loading overlay component that you can drop on top of your canvas. It's intended to "hide" the whole app, so if you have multiple suspense wrappers in your application, you should use multiple loaders. It will show an animated loading bar and a percentage.

  <Suspense fallback={null}>
    <AsyncModels />
<Loader />

You can override styles, too.

  containerStyles={...container} // Flex layout styles
  innerStyles={...inner} // Inner container styles
  barStyles={} // Loading-bar styles
  dataStyles={} // Text styles
  dataInterpolation={(p) => `Loading ${p.toFixed(2)}%`} // Text
  initialState={(active) => active} // Initial black out state
Only works in the DOM