You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just noticed that if you're using a flux/redux style of state management to persist and hydrate the selectFrom/selectTo values - there are infinite onSelectionChange all backs triggered.
I believe the problem is due to componentWillReceiveProps implementation:
Hey; Thanks for the component.
I just noticed that if you're using a flux/redux style of state management to persist and hydrate the
selectFrom
/selectTo
values - there are infinite onSelectionChange all backs triggered.I believe the problem is due to
componentWillReceiveProps
implementation:Which then calls
changeSelection
, which triggers an additional callback:Unfortunately this infinite cycle leads to the stack exploding.
Perhaps the new implementation would allow for hydration of new
selectFrom
/selectTo
values - without receiving the theonSelectionChange
callback?The text was updated successfully, but these errors were encountered: