From 69d2911ee469af62a739e4772098706f3097b41f Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 7 Oct 2023 18:48:54 -0500 Subject: [PATCH] CHUNK ALL THE THINGS!!! --- src/containers/soapbox.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/containers/soapbox.tsx b/src/containers/soapbox.tsx index e8b657d28..b63e42f3b 100644 --- a/src/containers/soapbox.tsx +++ b/src/containers/soapbox.tsx @@ -10,9 +10,9 @@ import { checkOnboardingStatus } from '../actions/onboarding'; import { preload } from '../actions/preload'; import { store } from '../store'; -import SoapboxHead from './soapbox-head'; -import SoapboxLoad from './soapbox-load'; -import SoapboxMount from './soapbox-mount'; +const SoapboxHead = React.lazy(() => import('./soapbox-head')); +const SoapboxLoad = React.lazy(() => import('./soapbox-load')); +const SoapboxMount = React.lazy(() => import('./soapbox-mount')); // Configure global functions for developers createGlobals(store);