<Suspense>
↔ Suspense API
Wrapper to define Suspense Boundary to allow Lazy Load
<Suspense fallback={<MySpinner /\>}\>
<MyLazyComponent /\>
</Suspense\>
fallback
prop
to set JSX placeholder for Suspense Boundary when Lazy Loading
References
Suspense Boundary
↔ Component Hierarchy wrap by<Suspense\>
to suspend renderchildren
withfallback
until ready