HackerTrans
TopNewTrendsCommentsPastAskShowJobs

eslachance

no profile record

comments

eslachance
·w zeszłym roku·discuss
So, if I were to try to convince you just how wrong you are, what I would do is start with a React project that uses React-Router v7 with the data routers, including the `loader`. That one thing alone, even above and beyond what others are saying about React Query, just blows the whole complexity of API communication out of the water.

And then, if you are doing anything full stack or have a middleware/backend-for-frontend, for god's sake, look into tRPC and let your mind be blown.

Putting these two together, in a simple vite project (no full stack "framework" needed"), it will seriously just change the way you look at data, loading, and API interactions.

It just feels somewhat like the OP's problems with React are all skill issues and a lack of desire to explore and learn correctly.
eslachance
·14 lat temu·discuss
That's pretty amazing, and it's really too bad that this technique wasn't actually available years before... (or was it?)