News for hackers. Stuff that matters.
Re:Why and How We Retired Elm at Culture Amp by satvikpendem on Sunday April 09, 2023 @10:47AM (#35503200)
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.
Re:Why and How We Retired Elm at Culture Amp by rcme on Sunday April 09, 2023 @10:52AM (#35503268)
This is a discussion about perf. Creating new copies is part of what makes it slow.
Re:Why and How We Retired Elm at Culture Amp by satvikpendem on Sunday April 09, 2023 @01:57PM (#35504956)
The 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.
Re:Why and How We Retired Elm at Culture Amp by bayesian_horse on Monday April 10, 2023 @02:57AM (#35509827)
Understanding that part means you know where to use memoization to speed up what needs to speeding up. Which isn't that much, usually.