one
one copied to clipboard
Docs should mention loader behavior on native platforms
trafficstars
Docs should mention how loaders behave on native platforms in comparison to web.
They only run in build time or they work similarly to SSR? I think newcomers expect a similar behavior to remix/react-router loaders. What you think?
Yep, something we need to do. The way they work currently should be similar to web:
- ssg happens at compile-time and is included in the bundle
- ssr happens on load and fetches from the server each time
- spa happens on load and fetches from the server each time
but honestly need to verify this more thoroughly alongside adding tests and documenting.
Added docs to the site!