This is a past event. Please join us for Web Summer Camp this year.

Server side rendering of React with Symfony

Workshop abstract

With some modern front-end libraries like React, we can render JavaScript applications directly from the server instead of waiting for the browser to render them. This is beneficial to present data for crawlers and it means a faster presentation of the content to the user. There is much information about how to do this in Node.js, but can we render a React (or Vue.js) application from a PHP server? What techniques do we have available? What are the benefits and trade-offs of each one? How to combine all the moving parts? In this workshop we will see the points of interest starting from the low level issues, and ending up with a confortable environment using Symfony, React and Webpack.

Workshop level

Intermediate


Full recorded video

Embedded content: https://www.youtube.com/watch?v=c1QPWUDx9sE


Software requirements and repository

Files necessary to run the workshop can be cloned from Nachos's github repository.

Needed software:

  • PHP 7.1+
  • npm
  • npx
  • Composer

More information

sfreact.limenius.com

Nacho Martín

Limenius

Nacho works as developer and trainer at Limenius, a company that he co-founded. He has been involved in the Symfony community for a long time. During the last years, he has been enjoying his work with React and React Native as if it was his first day in this profession. He is the author of ReactBundle, React Sandbox, and Liform. He is also an organizer of the conference React Alicante.