Yomguithereal/baobab-react

Branch HOC is handling mapping comparison incorrectly

adriangut opened this issue · 0 comments

The branch HOC handles mapping comparison incorrectly:

  • It does not properly hydrate the initial state, which causes mapping to remain undefined,
  • It updates the mapping values using the stale undefined mapping, which causes every comparison with a non-undefined mapping to return new state values.