mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-24 22:46:57 +02:00
1 line
No EOL
1.2 KiB
JavaScript
1 line
No EOL
1.2 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[63423],{94544:(e,s,n)=>{n.d(s,{Z:()=>r});var l=n(24246),a=(n(27378),n(29088));function r({children:e,fallback:s}){return(0,a.Z)()?(0,l.jsx)(l.Fragment,{children:null==e?void 0:e()}):null!=s?s:null}},95637:(e,s,n)=>{n.r(s),n.d(s,{default:()=>i});var l=n(24246),a=n(27378),r=n(94544),c=n(88613),h=n(52615);const u=a.lazy((()=>n.e(93940).then(n.bind(n,28109))));function i(){return(0,l.jsx)(c.Z,{children:(0,l.jsxs)("main",{style:{padding:30},children:[(0,l.jsx)(h.Z,{as:"h1",children:"React 18 tests"}),(0,l.jsx)("hr",{}),(0,l.jsx)(h.Z,{as:"h2",children:"Suspense > HeavyComponent"}),(0,l.jsx)(a.Suspense,{fallback:"[Suspense fallback] - Suspense > HeavyComponent",children:(0,l.jsx)(u,{})}),(0,l.jsx)("hr",{}),(0,l.jsx)(h.Z,{as:"h2",children:"BrowserOnly > Suspense > HeavyComponent"}),(0,l.jsx)(r.Z,{children:()=>(0,l.jsx)(a.Suspense,{fallback:"[Suspense fallback] - BrowserOnly > Suspense > HeavyComponent",children:(0,l.jsx)(u,{})})}),(0,l.jsx)("hr",{}),(0,l.jsx)(h.Z,{as:"h2",children:"Suspense > BrowserOnly > HeavyComponent"}),(0,l.jsx)(a.Suspense,{fallback:"[Suspense fallback] - Suspense > BrowserOnly > HeavyComponent",children:(0,l.jsx)(r.Z,{children:()=>(0,l.jsx)(u,{})})})]})})}}}]); |