Skip to content

Performance optimization

Romain requested to merge performance-opt into main

This PR introduces a number of small changes aiming at reducing the app's lag when handling more than 30 symbols.


Changes:

  • use key attribute for some React objects (helps the engine figure out which elements to re-render)
  • use slice in array updater function instead of costly iterations via map
  • use onBlur instead of onChange event triggering with TextFields (avoid lag after entering of individual characters)

Merge request reports