How to make react faster!
How to cache static files ?
Static assets (
.js,.css, images) are cached via HTTP headers.Use
Cache-Control: public, max-age=31536000, immutablefor static files.
How to use Service Worker (PWA Style) ?
Bundle Optimization
Webpack Analyzer to identify large bundles.
Tree shaking to remove dead code.
How to use
<link rel="preload" />orReact Helmetto preload important fonts, styles, or images ?What is Nginx? How to set it up in React ? For faster reload ?
What is
React.memo(Component)?React Lazy Component : From Notion Newsletter
Use useMemo : How help faster ? Complex Calculations
Last updated