Closed TheNicholasNick closed 5 years ago
Isn't this the same as the one in the repo?
https://github.com/AnomalyInnovations/serverless-stack-demo-client/blob/master/src/Routes.js
it is lol - I'm sure I have seen an asyncComponent in a repo like in the tutorials - will see where i've taken a right turn instead of a left and get back to this issue.
We have multiple branches for different chapters. So that is probably what you saw. But master is deployed to the demo app.
OK I see now
https://serverless-stack.com/chapters/code-splitting-in-create-react-app.html
So the demo link on that page seems to use the code-spliting-branch as chunks show up in the network tab.
wonder why chrome shows a different routes.js then - without the asyncComponent
See the screenshot - does all this Async magic get rejigged around on the fly or something?