4 ms·
> Immutable user interface. You no longer have to track state in both the model and the view; the latter is a function of the former. As soon as the model chang
by ExpiredLink 12y ago
> Immutable user interface. You no longer have to track state in both the model and the view; the latter is a function of the former. As soon as the model changes, React Native re-renders a virtual tree of the view hierarchy, then applies the delta to the native views.
The meaning of 'immutable' must have changed lately.
- erikpukinskis 12y agoCan you help me understand which part of that you think stertches the definition of immutability too far? The developer doesn't change the UI state, it is just a pure function applied to the domain state. Is it the fast path they implemented that does the diffing to speed up the function that bothers you?