devjar
devjar copied to clipboard
live code runtime for your react project in browser
Resolves #18 Encounter some problem like `An import map is added after module script load was triggered.`, which requires import map is set before all module scripts..
esm shims requires pretty long time of downloading script and some cdn like esm.sh doesn't handle it so well
It should support displaying error overlay (for both compilation and runtime errors) inside the iframe and send back the error with stack to the main window.
scope the CSS applying logic and sheet creation into the imported CSS module
Consider providing loading properly to identify if the script is loading or devjar is reloading the code files
Either respect the package version from a specified `package.json` or can load the latest version of it from CDN. For instance, react should load react 18 with swr