4 ms·
You can use Om if you like, right? Or Omniscient. Or Morearty. Not everyone is ready to go into FP-land right now. React lets you take these decisions yoursel
by danabramov 12y ago
You can use Om if you like, right?
Or Omniscient. Or Morearty.
Not everyone is ready to go into FP-land right now.
React lets you take these decisions yourself.
Whether local state is practical for your team or not.
You must be living in a very different world than mine if you think that compared to its rivals (Angular, Ember, etc), React is somehow “encouraging” local state. Sure you could go more functional than that, but take a look at the mainstream frameworks and you'll see it's such a long way to go, that had React not allowed local state, it would not have gotten adoption at all.
- Touche 12y agoThere are going to be lots of different types of frameworks that encourage different patterns all backed by this concept. I'm not saying React is the worst of the bunch but I also don't think it's clearly the best. All I'm saying is that when people praise React I wish they were really praising what you call "declarative component model". React is receiving 100% of the attention in this space when imo it should be receiving about 75%.
- danabramov 12y ago>All I'm saying is that when people praise React I wish they were really praising what you call "declarative component model". I long for time when these concepts are boring enough no one thinks of React anymore. Sadly we're not there yet.
- LungButta 12y agoYeah, I'm pretty sure it should at least be about 76%.