3 ms·
The parents of each of these elements have to manually map the state changes, they have to be aware of the internal state of the components, just as I was sayin
by mistersys 9y ago
The parents of each of these elements have to manually map the state changes, they have to be aware of the internal state of the components, just as I was saying.
Check this out: https://github.com/rtfeldman/elm-spa-example/blob/master/src/Page/Home.elm https://github.com/rtfeldman/elm-spa-example/blob/master/src...
Go to the bottom, see how it manually maps the child events of the feed update? You have to duplicate that code for every single child component. All the other steps I described are there also.
- rtfeldman 9y agoAgain, there are lots of counterexamples to what you're claiming. The technique you're saying "must" be done in "every single" case came up a grand total of once in the entire code base: the file you linked to.
- deleted 9y ago[deleted]