Upcoming: ESM support (minor breaking change - that should affect no actual clients) #79
stroiman
announced in
Announcements
Replies: 1 comment
-
Status update:
Fetch is still missing. But initial datastar support is getting nearer. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Things have been moving slow for various reasons, unfortunately.
I wanted to add support for Datastar, another hypermedia framework. DataStar depends on a few features that are not yet supported.
ESM support is quite profound, as v8go doesn't support ESM. On top of that it pushes some responsibility to the client (Gost-DOM) for performing import resolution. So far I have an experimental branch of v8go with ESM support, though no dynamic imports yet, and I have now started consuming this version from Gost-DOM.
In order to support import resolution, I needed to change the interface between the global window and the script engine. As I don't think anyone has created their own custom script engine, this should be good.
Beta Was this translation helpful? Give feedback.
All reactions