5 ms·
> But can you make parent-child communication with these mini TEA components like in React or Vue? It seems to me that we can't. I think parent-child communica
by dorian-graph 7y ago
> But can you make parent-child communication with these mini TEA components like in React or Vue? It seems to me that we can't.
I think parent-child communication isn't necessarily the right way to tackle problems.
Otherwise, I'll link to the oft-linked "Child-Parent Communication in Elm: OutMsg vs Translator vs NoMap Patterns" [1].
[1] https://medium.com/@_rchaves_/child-parent-communication-in-elm-outmsg-vs-translator-vs-nomap-patterns-f51b2a25ecb1 https://medium.com/@_rchaves_/child-parent-communication-in-...