If you want to author web components that use VDOM and React-like patterns, you can! Check out @_developit’s Preact.https://twitter.com/_developit/status/769229701181235200 …
-
-
-
@ebidel@_developit contributions wanted for React + Web Components integration project Reactive Elements.https://github.com/PixelsCommander/ReactiveElements … -
-
@_developit@PixelsCommander ReactiveElements it's like 65 lines, so i'm sure if nothing else it'd be easy to port.https://github.com/PixelsCommander/ReactiveElements/blob/master/src/reactive-elements.js#L21 … -
@rektide@PixelsCommander Wow, that's awesome. Will be looking into this for sure. Maybe it's possible just to use that unmodified? -
@rektide@PixelsCommander ah yeah this is basically like what I was getting towards with my demo there. Very nice.
-
-
-
@_developit It’s really awesome to see stuff like this. Got me thinking and I’ve expanded on it a little http://www.webpackbin.com/E1O6o7ki- . -
@_developit Basically adds support for properties (as well as attributes) so you can pass any value type. -
@_developit and reflected attributes -
@treshugart nice! Trying to grok this in my phone but it seems awesome! Helps me understand the reflection you mentioned before. -
@_developit@treshugart Nice, i'm doing an article about shadow DOM and might use this. Is this inserting render()'s result into the shadow? -
@matthewcp@_developit yep, the shadow root would be the start of the diff / patch tree -
@treshugart@_developit Yeah, so if I use <style> in render() it will be scoped. Great! -
@matthewcp@treshugart BOOM That works awesome. - 8 more replies
-
-
@_developit@rob_dodson shadow dom + virtual dom = real dom, exactly what i needed! -
@_developit https://github.com/tusharmath/rwc#examples … create webcomponents using Redux and any virtual dom lib. Checkout the preact example.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Oh by the way...
you can use Preact to build tiny VDOM-powered Web Components now