Skip to main content

React Performance

React javascript framework.

Planning

Best Practice Workflow with React.

  • Identify your component's different visual states
  • Determine what triggers those state changes
  • Represent the state in memory using useState
  • Remove any non-essential state variables
  • Connect the event handlers to set the state
  • How much complexity?
  • Should complexity be handled at the server?
  • Where will testing provide greatest value?

Profiling

Architecture

Origin story at Facebook.

Common Pitfalls

Tips