> Let's say that again. If anything, anywhere in your app has changed, throw the whole thing away and re-render the whole thing.
I am not an expert in React, but I am fairly certain this is completely false. React will re-render the components where state has changed, as well as any children of that components whose props change as a result. This is one of the key advantages of unidirectional data flow, as it makes it easy to reason about which components need to re-render as a result of a state change.
I am not an expert in React, but I am fairly certain this is completely false. React will re-render the components where state has changed, as well as any children of that components whose props change as a result. This is one of the key advantages of unidirectional data flow, as it makes it easy to reason about which components need to re-render as a result of a state change.