Re:How Does React Tell a Class from a Function?
by brlewis on Monday December 03, 2018 @12:33PM
(#18590742)
Can't you achieve the same result by leaving only view logic in the component, and having the data-related logic, including the fact that data has changed in a way that may require redraw, handled in a separate object? Here's how I'd do it in Mithril/TSX:
[ Parent
| on HN ]
There are no comments on this comment yet.