Molecular-Biophysics-Database / mbdb-input-ui

Prototype implementation of the input forms
Other
0 stars 0 forks source link

Make sure that the form re-renders when the context is changed externally #78

Closed MadCatX closed 10 months ago

MadCatX commented 10 months ago

Memoized components would not detect that the values they are displaying have changed in the underlying data object. The most obvious example is when data is loaded into the form from a file. The fix trades some rendering efficiency for correctness. Real impact of this change from the user perspective needs to be looked at. Unfortunately, this issue was not discovered sooner.