mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-01 19:27:48 +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([[29844],{40576:(e,s,n)=>{n.d(s,{A:()=>r});var l=n(62540);n(63696);var a=n(10709);function r({children:e,fallback:s}){return(0,a.A)()?(0,l.jsx)(l.Fragment,{children:null==e?void 0:e()}):null!=s?s:null}},55342:(e,s,n)=>{n.r(s),n.d(s,{default:()=>p});var l=n(62540),a=n(63696),r=n(40576),c=n(99849),u=n(37425);let h=a.lazy(()=>n.e(84656).then(n.bind(n,62275)));function p(){return(0,l.jsx)(c.A,{children:(0,l.jsxs)("main",{style:{padding:30},children:[(0,l.jsx)(u.A,{as:"h1",children:"React 18 tests"}),(0,l.jsx)("hr",{}),(0,l.jsx)(u.A,{as:"h2",children:"Suspense > HeavyComponent"}),(0,l.jsx)(a.Suspense,{fallback:"[Suspense fallback] - Suspense > HeavyComponent",children:(0,l.jsx)(h,{})}),(0,l.jsx)("hr",{}),(0,l.jsx)(u.A,{as:"h2",children:"BrowserOnly > Suspense > HeavyComponent"}),(0,l.jsx)(r.A,{children:()=>(0,l.jsx)(a.Suspense,{fallback:"[Suspense fallback] - BrowserOnly > Suspense > HeavyComponent",children:(0,l.jsx)(h,{})})}),(0,l.jsx)("hr",{}),(0,l.jsx)(u.A,{as:"h2",children:"Suspense > BrowserOnly > HeavyComponent"}),(0,l.jsx)(a.Suspense,{fallback:"[Suspense fallback] - Suspense > BrowserOnly > HeavyComponent",children:(0,l.jsx)(r.A,{children:()=>(0,l.jsx)(h,{})})})]})})}}}]); |