Integrating React.js into a PHP application
summary
Recommends starting with create-react-app for 100% client-side rendering as the simplest path; claims server-side rendering uses ReactDOMServer’s renderToString/hydrate (or streaming via renderToNodeStream) to improve time‑to‑first‑paint and SEO. Presents three PHP SSR architectures: embedding V8 via v8js (works but is hard to build and uncommon), delegating to a local/remote Node service (common, full Node tooling), or moving routing to Node. Mentions Hypernova and Wayfair’s open‑source PHP client as practical Node-based options.
AI-written summary · about
chapters (10)
- 0:00Start
- 3:55Make views a first-class aspect of your web application
- 5:33Flexibility to support single-page application experiences
- 6:08Frontend frameworks can unlock new interaction patterns
- 11:38What is server-side rendering (SSR)?
- 12:58Why server-side render?
- 19:54For universal JavaScript we need a way to execute JavaScript on the server.
- 33:57Easiest way to get started with React.js is 100% client-side rendering
- 34:31React.js has solid server-side rendering support
- 34:46Think about how you're architecting the view layer of your application
related talks
44mIntegrating React.js with PHP Projects
42mServer-side Rendering of JavaScript in PHP
59mBring Your PHP Application to the Next Level with React.JS
01h 19mServer side rendering of React with Symfony
44mServer Side Rendering from the trenches
25mThe Costs & Benefits of React Server Components
46mRethinking Server-Side Rendering in Modern PHP Applications
24mServing content on the web: from PHP to RSC—and beyond
