This is actually a series of 3 articles explaining how to get the best
load
time for an SPA and why Sprockets will not allow you to get the last
required bits. More specifically, it doesn’t support code splitting
(lazy
code loading) out of the box and it’s not easy to implement that. But
webpack does: