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
When I update the permanentFilter props in List, I see that my functions are working with the previous state every time.
I've used a debugging tool to see what happens in the core and here is where I found the misplacing of data, in the ListController.js.
As you can see in the below picture, there is a line that wrote const permanentFilter = this.props.filter
as I have seen in the debugger, the props have not been updated in this time and the value of permanentFilter is always the previous state.
The text was updated successfully, but these errors were encountered:
When I update the permanentFilter props in List, I see that my functions are working with the previous state every time.
I've used a debugging tool to see what happens in the core and here is where I found the misplacing of data, in the ListController.js.
As you can see in the below picture, there is a line that wrote
const permanentFilter = this.props.filter
as I have seen in the debugger, the props have not been updated in this time and the value of permanentFilter is always the previous state.
The text was updated successfully, but these errors were encountered: