@lazy-react/react-suspense
TypeScript icon, indicating that this package has built-in type declarations

1.0.10 • Public • Published

README.md

lazy react suspense

install

yarn add @lazy-react/react-suspense
yarn-tool add @lazy-react/react-suspense
yt add @lazy-react/react-suspense

demo

<ReactSuspense fallback={<Loading />}>
    <ShowLotto />
</ReactSuspense>

same as

{(typeof window !== 'undefined') ? (<Suspense fallback={<Loading />}>
    <ShowLotto />
</Suspense>) : <Loading />}

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @lazy-react/react-suspense

      Weekly Downloads

      1

      Version

      1.0.10

      License

      ISC

      Unpacked Size

      8.2 kB

      Total Files

      7

      Last publish

      Collaborators

      • bluelovers