Comment

Comment by qrohlf

> 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.

parent qrohlf 11 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton