Skip to content

Encapsulation and Child -> Parent communication? #67

Answered by ivanceras
yatesco asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @yatesco,

Incidentally, I'm still working on this reusable components for the past few weeks.
However, I haven't really polish the design to make it more ergonomic for the users. I'm still torn on whether to stick with The Elm architecture or use web-components(a.k.a custom elements) that is natively supported by the browser or both. Now, that you have an inquiry about it, I just push it to the resuable-components branch.

An accompanying project sfui is using heavily using re-usability feature to create interactive Components and Containers which can have its own set of behaviors that the parents component don't have to know about, but only care about plugging callbacks into the chi…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yatesco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants