/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ import {Suspense, lazy} from 'react'; import {ErrorBoundary} from 'react-error-boundary'; import Html from './Html'; import Spinner from './Spinner'; import Layout from './Layout'; import NavBar from './NavBar'; const Comments = lazy(() => import('./Comments' /* webpackPrefetch: true */)); const Sidebar = lazy(() => import('./Sidebar' /* webpackPrefetch: true */)); const Post = lazy(() => import('./Post' /* webpackPrefetch: true */)); export default function App({assets}) { return ( }> ); } function Content() { return (
}>

Comments

}>

Thanks for reading!

); } function Error({error}) { return (

Application Error

{error.stack}
); }