Sitecore / jss

Software development kit for JavaScript developers building web applications with Sitecore Experience Platform
https://jss.sitecore.com
Apache License 2.0
261 stars 275 forks source link

Chunk split in SItecore JSS + React #966

Closed kps0950 closed 2 years ago

kps0950 commented 2 years ago

Description

I have just started working with React with Sitecore and need to implement a chunk-split to improve the performance of my project. I googled about it and found this method provided by Kam https://kamsar.net/index.php/2018/08/Code-splitting-with-Sitecore-JSS-React/ and implemented it as per this article. After implementing this the chunk is broken into small pieces but now at the time of page load, I'm getting a weird flash effect like first my page loads and then a Flash(white-screen), and then it's loads again. I don't know why this flash is coming. Is there anyone who worked on the same thing or faced a similar issue? Please help me

CC: @kamsar

ambrauer commented 2 years ago

Hi @kps0950 - This does not appear to be an issue with JSS. Please review SUPPORT.md for other channels which might be more helpful for you (posting to Sitecore StackExchange, or chatting on Slack).