From Development To Production
- Deployment Steps & Pitfalls
- Server-side Routing vs Client-side Routing
Deployment Steps
Test Code: Manually & with automated tests
Optimize Code: Optimize user experience & performance
Build App: Run build process to parse, transform & optimize code
Upload App: Upload production code to hosting server
Configure Server: Ensure app is served securely & as intended
Lazy Loading
Load code only when it’s needed
A React SPA is a “Static Website”
Only HTML, CSS & JavaScript
⬇️
A static site host is needed
Server-side Routing vs Client-side Routing
Resources