Hacker News new | ask | show | jobs
by searchableguy 2168 days ago
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.

1 comments

Just started looking at Spring Boot (w/Kotlin).

Never try it. A bazillion ways to do basic web service & web things and every google search returns different methods.

Nightmare.

Did you look at https://spring.io/guides ? Building a REST service is one of the examples.

https://spring.io/guides/tutorials/rest/