Skip to content

Recompute state of infinite list on each prop change. Fixes #856.

Antoine requested to merge ZeHiro/kresus:fix-infinit-list-againnnnn into master

This MR allows to recompute the componant state based on the new received props (see API here: https://reactjs.org/docs/react-component.html#static-getderivedstatefromprops). This includes recomputing the state on :

  • change of operation to be displayed,
  • change of height of operation
Edited by Antoine

Merge request reports

Loading