My problem with react is that there are so many ways to do the same things that reusability and refactoring becomes harder than it should be.
I usually found 3-4 ways of styling in a medium codebase on github. I find varying degrees of state management - some built with context and hooks, some imported and traditional mobx/redux. I haven't found many significant opportunities to reuse code without refactoring a lot or doing micro files of 7 lines of code and separating logical components.
I now think of react as a library to build your own frameworks. It aligns perfectly with the javascript ecosystem mentality.
I usually found 3-4 ways of styling in a medium codebase on github. I find varying degrees of state management - some built with context and hooks, some imported and traditional mobx/redux. I haven't found many significant opportunities to reuse code without refactoring a lot or doing micro files of 7 lines of code and separating logical components.
I now think of react as a library to build your own frameworks. It aligns perfectly with the javascript ecosystem mentality.