9 karma · joined November 2, 2017
Hence document.write is used.
Though HTML could be used but that would just increase one more tab to show useless HTML. ;)
You can use them conditionally to manipulate data before fetch or before storing. For example: you want to store the username when a person registers using the email id like userzyx@gmail.com then you can use it to generate username from it by truncating the later part and generate unique username which will be "userzyx" here.
Just open up your brains and see where further it can be used and possibilities are just unlimited.
By the way the issue was with the server and not the boilerplate.
Suppose you visit only example.com/about-us page then why should the server load example.com, example.com/faq, example.com/blog code together with it?
I hope you got the point of code-splitting. :)