3 ms·
As well, people don't understand that React is an idempotent rendering framework. It's easy to reason about because of the same reason why functional languages
by satvikpendem 4y ago
As well, people don't understand that React is an idempotent rendering framework. It's easy to reason about because of the same reason why functional languages are easy to reason about, it does not mutate but instead creates new copies.
- rcme 4y agoThis is a discussion about perf. Creating new copies is part of what makes it slow.
- satvikpendem 4y agoThe point is the same as functional languages, making immutable copies is what makes it easy to reason about, where reactive changes don't. There are ways to make VDOMs fast too, faster than reactive frameworks.
- bayesian_horse 4y agoUnderstanding that part means you know where to use memoization to speed up what needs to speeding up. Which isn't that much, usually.
- deleted 4y ago[deleted]