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:03] – [Sustainable Design and UI/UX] 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(' | ||
- | * Tree Shaking: Utilising tools like Webpack, developers can eliminate unused code from the final bundle. This process reduces the application’s | + | |
- | ==== 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 ==== | ||