rtCamper Muhammad Muhsin shares his take on Server Side React for WordPress.
Muhammad talks about the advantages of React and its ability to render content on the server-side, which helps performance and SEO for search engines.
He also introduces Next.js (a server-side React framework) and how to build a web app with Next.js on the front-end and WordPress at the back end.
A lightweight framework for static and
server-rendered React applications.
● Automatic code splitting (and Prefetching)
● Every React component inside of ./pages is a route
● Server side rendering by default
● Easy data fetching
● Webpack, Babel
● Micro Frontends
There is a server, but we don’t maintain it.
Serverless with `now`
● Has support for local development with `now dev`
● A serverless platform by Zeit - the company
● Push to live with one command - `now`
● Next.js 8 has serverless support
● Every page in Next.js becomes a serverless function
● `now init`
● getInitialProps for data fetching
● Next Link