meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ixc2024:tech:wfrontend:criteria:react [2024/05/22 15:47] – [Optimising Resource Utilisation] alesta | ixc2024:tech:wfrontend:criteria:react [2024/05/22 15:50] (current) – rubenhuygens | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| One of the key aspects of sustainability in web development is minimising resource consumption. In React apps, developers can implement various techniques to reduce the application’s overall footprint: | One of the key aspects of sustainability in web development is minimising resource consumption. In React apps, developers can implement various techniques to reduce the application’s overall footprint: | ||
| - | | + | |
| - | | + | |
| + | | ||
| | | ||
| const LazyComponent = lazy(() => import(' | const LazyComponent = lazy(() => import(' | ||
| + | * Code Minification and Compression: | ||
| - | ==== Performance Optimisation ==== | + | |
| - | Improving performance not only enhances the user experience but also contributes to sustainability by reducing energy consumption. React provides several optimisation techniques that help improve application performance: | ||
| - | |||
| - | * Virtual DOM and Efficient Rendering: React’s virtual DOM efficiently updates and renders only the necessary components, reducing unnecessary re-renders and enhancing performance. | ||
| - | |||
| - | * Memoization and PureComponent: | ||
| - | |||
| - | |||
| - | | ||
| ==== Accessibility and User Experience ==== | ==== Accessibility and User Experience ==== | ||