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 was trying to update an observable on click of an ag-grid cell.
Actual outcome:
When I prop drill the store or the update action to the cellRenderer component, it doesn't update the observable. Because the component where the observable is used doesn't get re-rendered.
But when I use the store using the context API, everything works fine.
As per the documentation, there shouldn't be any such difference. Right?
Versions
mobx - 6.0.4
mobx-react - 7.0.5
react - 18
The text was updated successfully, but these errors were encountered:
Intended outcome:
I was trying to update an observable on click of an ag-grid cell.
Actual outcome:
When I prop drill the store or the update action to the cellRenderer component, it doesn't update the observable. Because the component where the observable is used doesn't get re-rendered.
But when I use the store using the context API, everything works fine.
As per the documentation, there shouldn't be any such difference. Right?
Versions
mobx - 6.0.4
mobx-react - 7.0.5
react - 18
The text was updated successfully, but these errors were encountered: