docusaurus/assets/js/38caefbe.9599d4f0.js
2024-12-24 13:45:59 +00:00

1 line
No EOL
1.3 KiB
JavaScript

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["45293"],{82234:function(e,n,s){s.d(n,{Z:function(){return a}});var l=s(85893);s(67294);var r=s(8903);function a(e){let{children:n,fallback:s}=e;return(0,r.Z)()?(0,l.jsx)(l.Fragment,{children:n?.()}):s??null}},72397:function(e,n,s){s.r(n),s.d(n,{default:function(){return i}});var l=s(85893),r=s(67294),a=s(82234),t=s(75957),c=s(17973);let u=r.lazy(()=>s.e("56397").then(s.bind(s,94015)));function i(){return(0,l.jsx)(t.Z,{children:(0,l.jsxs)("main",{style:{padding:30},children:[(0,l.jsx)(c.Z,{as:"h1",children:"React 18 tests"}),(0,l.jsx)("hr",{}),(0,l.jsx)(c.Z,{as:"h2",children:"Suspense > HeavyComponent"}),(0,l.jsx)(r.Suspense,{fallback:"[Suspense fallback] - Suspense > HeavyComponent",children:(0,l.jsx)(u,{})}),(0,l.jsx)("hr",{}),(0,l.jsx)(c.Z,{as:"h2",children:"BrowserOnly > Suspense > HeavyComponent"}),(0,l.jsx)(a.Z,{children:()=>(0,l.jsx)(r.Suspense,{fallback:"[Suspense fallback] - BrowserOnly > Suspense > HeavyComponent",children:(0,l.jsx)(u,{})})}),(0,l.jsx)("hr",{}),(0,l.jsx)(c.Z,{as:"h2",children:"Suspense > BrowserOnly > HeavyComponent"}),(0,l.jsx)(r.Suspense,{fallback:"[Suspense fallback] - Suspense > BrowserOnly > HeavyComponent",children:(0,l.jsx)(a.Z,{children:()=>(0,l.jsx)(u,{})})})]})})}}}]);