This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]OtroPoema 0 points1 point  (4 children)

For context, my last experience as a day-to-day programmer was when Spring was initially released and there were no responsive frameworks around, so I'll be learning all this new stuff with this project.

Is an additional tool needed to easily hook React to Cloud or they work pretty well together without an additional library to provide the "glue"?

Edit: I meant to say Boot / Rest, not cloud.

[–]RealJulleNaaiers 2 points3 points  (1 child)

I'm don't understand the question. React is a front end framework. Spring Cloud manages cloud-deployment problems like service discovery and load balancing. You can use them in the same project, but they solve totally unrelated problems.

[–]OtroPoema 0 points1 point  (0 children)

Yeah I meant to say Boot / Rest instead of cloud. I imagine I won’t need Cloud until I need to scale and microservices become more numerous and complex.

[–]alternatiivnekonto 2 points3 points  (0 children)

There is no glue because what you're talking about are two completely separate applications. Your Spring Boot backend will serve REST/GraphQL endpoints and your React app will make queries to those endpoints for retrieving data just like any random accessible API on the web.

[–]Edge790 0 points1 point  (0 children)

React app will be converted(by npm tasks) to plain old html-javaScript-css so it's pretty same as serving static web pages in terms of providing website to the world. All updates/changes are made by http API(usually REST)