-
-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new vdom pkg, a rework of virtualdom that includes support for creating Lumino virtual elements using JSX #45
Conversation
Originally posted by @sccolbert in phosphorjs/phosphor#447 (comment)
|
I think Chris did some really fine work here, and I'd like to get this in at some point in the near future. It seems to be mostly functional, but is going to require at least some work (eg the SVG support debugging that Chris mentioned in his post). I also want to look into how to fold the work that I've been doing recently on custom renderers for individual vdom nodes (#29, #36, #44) into the |
@telamonian @blink1073 Is there still interest in incorporating this new vdom package into lumino? |
@nmichaud Yeah, definitely. But keep in mind this will take a lot of work to actually implement in the current @lumino/widgets codebase |
As an alternative - it might be worth investigating using native web components, as this opens the door for not just React, but also Angular, Vue etc. |
I'm definitely 👍 to get Lumino widget converted to web components
Thanks for sharing |
We should probably close this PR for now and re-open this PR whenever it is active again. This does raise of the question: what should |
Yes I think nothing will happen for Lumino 2. |
@telamonian please feel free to pick this up any time you wish, closing the PR for now |
When we switched from Phosphor => Lumino, one of the PRs that was left open was for adding a new
vdom
package. The basic idea is thatvdom
is meant to be the virtual dom package for Lumino 2.0; the currentvirtualdom
pkg will be deprecated, and all of the renderers for the builtin widgets will switch over to using constructs fromvdom
instead. The killer feature forvdom
is that it adds support for creating Lumino virtual nodes using JSX, and the more declarative paradigm that comes with it.