Skip to content

Performance Checklist

Ashley Bhandari edited this page Mar 31, 2025 · 1 revision
  • Use immutable data structures by treating state as read-only and only updating it through the state setting function
  • Use React Fragments over unnecessary HTML element wrappers
  • Use arrow functions over inline functions for props
  • Avoid using index as a list key
  • Avoid spreading props on DOM elements
  • Memoize components
  • Minimize unnecessary re-renders
  • Lazy load images

Clone this wiki locally