Introduction
The Klemich Real Estate website is a SPA (Single Page Application) running on React.js, powered by a Headless WordPress backend.
Some benefits of building the website as a SPA include:
- The frontend is independent of the backend (WordPress). An entirely different backend could be plugged into React
- Faster page load and user experience, as only the content needs to load on page change rather than duplicate resource requests
- Simple state management
- Faster DOM manipulation with React virtual DOM
- Rapid development environment with hot module reloading
- React components promote DRY code
- Progressive Web Application out-of-the-box support and installation on mobile devices
- Minimises network requests by reducing amount of data required for each page load
- PWA potential offline support capability