|
|
|
|
|
by tck30
3230 days ago
|
|
tl;dr of this blog post: "Oh no, I don't understand how immutable data structures work and need to rant about why it doesn't make sense!" I don't want to be mean about it, but there's a lot of literature on functional programming and how mutable data complicates things as your states increase. The problem isn't how React forces you to write long code to get around immutability, the problem is the fact that you're trying to force your approach. And no, this isn't because React is heavily opinionated -- it's because React's underlying philosophy is functional programming. |
|