Sharing Top Content from the Angular-sphere.

Do I need Node.js in the backend? – Angularity

  • You can use any frontend library for fetching data – React doesn’t come with one.
  • My site is hosted on a PHP/MySQL backend and I read somewhere that I need to have a Node.js environment in the backend to use these new JavaScript libraries like React and Angular 2.
  • Read on for how to fetch data, deal with routing, and server-side rendering without Node.js.
  • If you want to support server-side rendering (a.k.a. “isomorphic” rendering), whether to increase page load speed or to improve SEO, then React will actually be running on both the server and in the browser: once to render the page server-side, and then again in the browser after it downloads and displays the initial rendering.
  • Server-side rendering is way outside the scope of this post, but even if you do need it, you don’t have to use Node.js in the backend.

Read the full article, click here.

@trainingstack: “Do I need Node.js in the backend? – Angularity via @dceddia”

Can you use React with a PHP, Java, Rails, or other kind of backend?

Do I need Node.js in the backend? – Angularity