Lazy load Monaco Editor to unblock SSR process
I'd really love the ability to include Solid REPL in Solid Site's SSR process. Unfortunately Monaco introduces side-effects when I attempt to do so. You can experience this on https://github.com/solidjs/solid-site/tree/solid-start-migration. A solution discussed on Discord is to lazy load Monaco itself but that might apparently pose some trouble for the top-level await.
Either way it would be really nice to get support for this. I'm hoping someone has some spare time to sink their teeth into it.
Thanks!
include Solid REPL in Solid Site's SSR process
What would this do? Like render the initial HTML of the editor with the payload?
I think we can probably close this once https://github.com/solidjs/solid-site/pull/261 gets merged, as an example of using solid-repl within SSR
One example of doing this is here: https://github.com/solidjs/solid-docs-next/pull/70, but there seems to be a vite issue blocking us and causing an error about bundling two workers at the same time: https://app.netlify.com/sites/solid-docs/deploys/62b60ea52f4e28000aeb0792
Unexpected early exit. This happens when Promises returned by plugins cannot resolve. Unfinished hook action(s) on exit: