🍿 Minor Changes
-
#9524
0903ef90494e9c8bd0272347a0cdd51eca7f4648Thanks @aleksandrjet! - Allows rendering lazy components.You can now use lazy components with Suspense:
import { lazy, Suspense } from 'preact/compat';const HeavyComponent = lazy(() => import('./HeavyComponent'));const Component = () => {return (<Suspense fallback={<p>Loading...</p>}><HeavyComponent foo="bar" /></Suspense>);};