While closing a <Popover />, I got the warning Can't perform a react state updated on an unmounted component.. Updating the state to set showing: false first then triggering the onCloseComplete function solved this issue.
Task List
[x] move onCloseComplete to setState callback function
Issue Number
Issue 69
Overview
While closing a
<Popover />
, I got the warningCan't perform a react state updated on an unmounted component.
. Updating the state to setshowing: false
first then triggering theonCloseComplete
function solved this issue.Task List
onCloseComplete
tosetState
callback functionVisual