Lazy component wrapper
You should use this instead of React.lazy to supports initial and meta data methods in components
import {lazy} from '@rambler-tech/react-toolkit/client'const MainPage = lazy(() => import('./pages/main'))const AboutPage = lazy(() => import('./pages/about')) Copy
import {lazy} from '@rambler-tech/react-toolkit/client'const MainPage = lazy(() => import('./pages/main'))const AboutPage = lazy(() => import('./pages/about'))
Generated using TypeDoc
Lazy component wrapper
You should use this instead of React.lazy to supports initial and meta data methods in components