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 from idom import web
react_bootstrap = web.module_from_file("./react-bootstrap.js")
button = web.export(react_bootstrap, "Button") |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The core idea is that
module_from_template
is 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
Beta Was this translation helpful? Give feedback.
All reactions