3 ms·
It's more sane. It does fine grained updates without having to manually optimize like in React - useCallback/useMemo/React.memo/splitting components. Think of
by dham 5y ago
It's more sane. It does fine grained updates without having to manually optimize like in React - useCallback/useMemo/React.memo/splitting components. Think of a list view where you want to update a single item in a list.
People generally understand Vue better because you can just push to an array and it reacts to it properly without having to commit to the React immutable data religion.
Basically if you were to competently build a framework you would have Vue, if you were trying to impress your colleagues and bring up bullshit comp sci principals so you can write 50x more lines of code while spending 100 hours trying to optimize a list re render, you would have React.
After using React professionally since 2015 I've come to the conclusion:
Only very few people at companies actually understand React beyond the surface layer. Everyone else just kind of gets by because on the surface it seems simple. It's actually really really hard to build performant React apps, but most developers are naive because they have $4000 mac book pros and Chrome cpu throttling isn't cutting it anymore. It's really an infection that has spread through our industry.
- deleted 5y ago[deleted]