saus icon indicating copy to clipboard operation
saus copied to clipboard

Lazy-loaded state modules

Open aleclarson opened this issue 3 years ago • 0 comments

A state module might not be an explicit dependency of any route. In other words, it might not be used by any route during prerender. Rather, it's only loaded on-demand after some page is hydrated. In this case, there needs to be a way to tell Saus that I still want the state module to be generated at build time, so it exists when requested by the client.

aleclarson avatar Apr 02 '22 22:04 aleclarson