If you're interested in a React-based static site generator that does that: https://github.com/fiatjaf/sitio
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. :)