root-client.js 526 B

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