DEV Community

Discussion on: Why seems React to be so extremely complex

Collapse
 
tarvk profile image
Tar

I personally just use node.js as a backend usually, just because I'm very familiar with javascript/typescript and more of a front-end developer. But I don't think using any other language and or framework for the backend API should give more difficulties.
As someone else already mentioned, create-react-app is the easiest way to get started. But I personally just have a couple of configs ready in other projects now, as well as starter code.

The next framework is really good if you want really high performance applications, with good load times. But if you don't care for that too much, which I assume to be the case when prototyping, I wouldn't use it.

As for the CORS issues. I am still not a 100% sure what the deal with CORS is in general. However, when separating the client code and API code, I am quite sure that in most backend frameworks you can just indicate what clients it should serve? In node.js/express you have express-cors.

Hope that can be of any help, because once you know how to start with react, creating new applications is really just a breeze!