Full stack components #5227
Unanswered
andrecasal
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd welcome some ideas and discussion regarding full-stack components.
Consider these two components/routes:
/component
is a route that will render<ComponentRoute />
with preloaded data.<Component />
is a full-stack component that can beimport { Component } from ~/routes/component
'ed (think newsletter component that serves as both its own route and also imported into several pages throughout the app).I was wondering if we could have a variation of useLoaderData() that preloads data from another route so we could have full-stack components without loading states.
Beta Was this translation helpful? Give feedback.
All reactions