Usage of declarative shadom DOM #44
edimoldovan
started this conversation in
Ideas
Replies: 2 comments
-
I have been thinking about this. Some discussion about webcomponents here: One challenge with that approach is that how to provide complex data (arrays, objects,...) for the component as well as the dependencies? |
Beta Was this translation helpful? Give feedback.
0 replies
-
The how of that is indeed the million dollar question -- I haven't yet figured it out myself either. Maybe something around linking DOM elements to model, something like data-model attribute and then children would have fields mapped in a similar way with data-field. Just an idea I had, haven't tried it yet. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would be interesting to see if neujs can compile its components to web components so their ability to automatically hydrate SSR web components and their shadow DOM to create a resumable app independent from the backend stack.
Beta Was this translation helpful? Give feedback.
All reactions