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
forceUpdate is ignored by react-redux connect. Because internally a renderedElementis stored and forceUpdate does not reset this element, leading to rendering an possibly 'old' component. A fix could be like adding this code to deepForceUpdate. Or update react redux connect to handle forceUpdate.
deepForceUpdate(this.childRef,// Deep react stuff - the stateNode is probably from react-hot-loaderinstance=>{constn=instance&&(instance.stateNode||instance)returnn&&(n.context&&n.context.i18n)},instance=>{constn=instance&&(instance.stateNode||instance)if(n&&n.updater&&n.updater.enqueueForceUpdate)n.updater.enqueueForceUpdate(n)}),
i18n is the context I'm updating, the stateNode is probably from react-standin, and the enqueueForceUpdate is some voodoo API from somewhere, possibly React?.
forceUpdate is ignored by react-redux connect. Because internally a
renderedElement
is stored and forceUpdate does not reset this element, leading to rendering an possibly 'old' component. A fix could be like adding this code todeepForceUpdate
. Or update react redux connect to handleforceUpdate
.The text was updated successfully, but these errors were encountered: