There’s always a trade off between loading all app code at once giving the user a seamless single…
Param Singh
1

If the module is big, the user will see a slight delay. I want to add loader to handle that instead just showing a blank screen for 1–2 seconds. I’m currently using this repo https://github.com/ModusCreateOrg/react-dynamic-route-loading-es6 , are you sure componentdidmount can solve my problem?

Show your support

Clapping shows how much you appreciated Voon Ming Hann’s story.