Closed yoshuawuyts closed 7 years ago
I really need to read up on this project - lot to catch up on. Definitely interested, will try to find some time shortly. FYI I think Kye fleshed out some ideas in #4
The idea of nanocomponent is that it allows you to create native DOM elements that have a rich lifecycle events: onload
, onunload
, onresize
, onenter
, onexit
, lazy loading etc. This makes it a cool abstraction to write DOM elements with.
This project is so nanocomponent
elements can be rendered super easily inside almost all frameworks. What makes it even cooler is if you then use a light framework (like preact
or choo
) inside nanocomponent
you get interop with all frameworks for free :sparkles:
Hope this makes sense haha :grin:
landed in v1.2.0
:tada:
Would be neat if we could expose
nanocomponent
topreact
. I suspect this would be a minor deviation from ourreact
adapter.cc/ @developit if you have a few mins to spare, would you mind helping out? Would be radd if all components we build for
dat
from now on would be natively compatible withpreact
:sparkles: :grin: