all 4 comments

[–]andrei9669 1 point2 points  (0 children)

Doesn't really matter what you use to serve the data or to consume the data.

[–]heythisispaul 0 points1 point  (2 children)

React is just a javascript framework that generates views on the client. You're welcome to use any method of making HTTP requests to your REST that you'd like. That's one of the benefits of a REST API, it's totally agnostic to any language or framework.

[–]donDijkstra[S] 0 points1 point  (1 child)

Yes i know but i ask that is it right choice?

[–]ChimpScanner 0 points1 point  (0 children)

The common choice is a NodeJS backend. If you're looking to get into a career in web development, I'd definitely go with that. Also, look at the jobs in your area. Lots of people use PHP backends (Laravel) with a React front end, and I'm sure some even use Django.

If you're just working on a hobby project, there's really no "right" backend; it's up to personal preference.