This is not a complaint, but merely a comment from a coworker. There are important semantic and syntactic differences. This came up as I recommended using Observable as a core tool for documenting AgentScript, a “kit” for making agent based models.
It was followed by “Oh boy, another thing to learn!”.
OK fine, so the dynamic form of import should work. Hmm but that’s a promise so somehow I have to set the
.then(module => ....) part to make the module available.
I said this works:
esm1 = import(“https://backspaces.github.io/agentscript/dist/agentscript.esm.js”)
It goes on but I do think this deserves a concrete “diff” notebook. I think we may be loosing folks who “Just want a JS notebook”.