module_from_template API changes #784
Archmonger started this conversation in Ideas
Replies: 1 comment 4 replies
-
Unfortunately a simple I'd like to avoid bringing back the old Where this would create a fromidomimportwebreact_bootstrap=web.module_from_file("./react-bootstrap.js") button=web.export(react_bootstrap, "Button") |
BetaWas this translation helpful?Give feedback.
4 replies
Sign up for freeto 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.
Uh oh!
There was an error while loading. Please reload this page.
-
The core idea is that
module_from_templateis currently unsustainable. So I'm proposing a new API that should feel like JavaScript.For now, let's focus on React modules to limit scope creep.
I would envision the cleanest user workflow to look like this
Step 1
Step 2
Step 3
BetaWas this translation helpful?Give feedback.
All reactions