React server-side rendering with Webpack – The Problem Solver

#React Server-Side Rendering with #Webpack  #reactjs #javascript #Programming #coding

  • There are times when the initial blank html page being download for a React application is not perfect.
  • So, if you want to maximize traffic to your React application using SEO Server-side rendering is a must have.
  • With a Server-side rendering style application, the initial HTML page already contains all, or most, of the markup so it can be displayed much faster.
  • There are several approaches to doing Server-side rendering with a React application generated using Create React App (CRA).
  • A much better approach would be to use Webpack to generate two JavaScript bundles, one for use with Server-side Rendering and a second for use in the browser.

There are times when the initial blank html page being download for a React application is not perfect. One reason might be Search Engine Optimization, another might be a slower initial render, especially on mobile devices.
Continue reading “React server-side rendering with Webpack – The Problem Solver”

Symfony with React.js frontend Integration

  • Let’s start by installing Symfony
  • Now that we have a symfony installation, let’s begin with the part of react.js integration
  • Eveytime you access to “/” our “/{slug}” it will used react-router, the “/api/{slug}” it will use Symfony
  • I’ll add some demonstration code, that will allow you to see this example in action
  • Now that we have a npm project at the root of our Symfony installation, lets install the needed packages

Symfony with React.js frontend Integration – The Internet brave new World
Continue reading “Symfony with React.js frontend Integration”