You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a pretty large page, but only like 1 component on it actually needs JS.
Yet, I have to hydrate the entire page, which means I essentially ship most of my markup twice.
Is something like partial hydration something that the team is thinking about?
Astro is doing some cool stuff in the space that we might be able to learn from.
Maybe we could do something like enable the script context=module syntax on a component level, or is that technically infeasible?
EDIT: just saw that there is an open issue for this: #1390 (comment)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a pretty large page, but only like 1 component on it actually needs JS.
Yet, I have to hydrate the entire page, which means I essentially ship most of my markup twice.
Is something like partial hydration something that the team is thinking about?
Astro is doing some cool stuff in the space that we might be able to learn from.
Maybe we could do something like enable the
script context=module
syntax on a component level, or is that technically infeasible?EDIT: just saw that there is an open issue for this: #1390 (comment)
Not sure how to delete a discussion 🙈
Beta Was this translation helpful? Give feedback.
All reactions