root-client.js 439 B

123456789101112
  1. 'use client'
  2. import { Root } from 'app/root'
  3. // SSR enabled for faster initial page load - server pre-renders the HTML
  4. // The loading fallback only shows during client-side navigation while chunk loads
  5. /*const RootDyn = dynamic(() => import('app/root').then(m => m.Root), {
  6. ssr: false,
  7. loading: () => <Loading />,
  8. })*/
  9. export default function RootClient(props) {
  10. //return <RootDyn {...props} />
  11. return <Root {...props} />
  12. }