mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-04 20:02:54 +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([["45293"],{56497:function(e,s,n){n.d(s,{Z:()=>r});var l=n(85893);n(67294);var a=n(71607);function r(e){let{children:s,fallback:n}=e;return(0,a.Z)()?(0,l.jsx)(l.Fragment,{children:s?.()}):n??null}},61389:function(e,s,n){n.r(s),n.d(s,{default:()=>h});var l=n(85893),a=n(67294),r=n(56497),c=n(88408),t=n(57922);let u=a.lazy(()=>n.e("84303").then(n.bind(n,41776)));function h(){return(0,l.jsx)(c.Z,{children:(0,l.jsxs)("main",{style:{padding:30},children:[(0,l.jsx)(t.Z,{as:"h1",children:"React 18 tests"}),(0,l.jsx)("hr",{}),(0,l.jsx)(t.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)(t.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)(t.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,{})})})]})})}}}]); |