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
It would be cool, to inject a script in each staticly generated file, if a flag is set to include the dynamic component of the ssr generated component. Then when the static html page renders in the browser it will execute the included script and hydrate from the element with the id that matches the name of the file, which should make all dynamically declared events hot.
In rollup, I believe there is a way to run two build steps, one to build the ssr generated components and one to build the esm generated components. I would need to output the esm components in a scripts directory. then copy them into the dist directory and a build step.
Should be fun to try it out.
The text was updated successfully, but these errors were encountered:
It would be cool, to inject a script in each staticly generated file, if a flag is set to include the dynamic component of the ssr generated component. Then when the static html page renders in the browser it will execute the included script and hydrate from the element with the id that matches the name of the file, which should make all dynamically declared events hot.
In rollup, I believe there is a way to run two build steps, one to build the ssr generated components and one to build the esm generated components. I would need to output the
esm
components in a scripts directory. then copy them into the dist directory and a build step.Should be fun to try it out.
The text was updated successfully, but these errors were encountered: