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 see that when I use static export my data is being put into two places: in a JS object within a script tag in the HTML file, and in its own JSON file. On loading a page from the top level, the data is hydrated from the script tag JS object, but then the JSON bundle is getting prefetched anyway (in anticipation of navigating back to this page clientside?).
Why is the data not just put into the JSON bundle only?
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I see that when I use static export my data is being put into two places: in a JS object within a
script
tag in the HTML file, and in its own JSON file. On loading a page from the top level, the data is hydrated from thescript
tag JS object, but then the JSON bundle is getting prefetched anyway (in anticipation of navigating back to this page clientside?).Why is the data not just put into the JSON bundle only?
Beta Was this translation helpful? Give feedback.
All reactions