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
However, I've run into an issue where atom updates are missing in the logs and I've narrowed the issue down to a particular scenario. I have an atom which contains a list of ids and whenever it gets a new id added, it renders a component that updates another atom on initial render. This is done in an effect hook and when I look at the devtools, they only show atom state from the effect hook and not the ids list.
I tried reproducing the issue in a codesandbox but it's not 100% the same behaviour. If you keep clicking the button, it seems to arbitrarily switch between showing the ids and the effect hook atom. But in my own code, it only shows the effect hook atom.
@timiscoding hey! sorry for the delay! thanks for opening this issue!
I'll try to make a fix for that this week and I'll keep you updated with this.
I'll send here the new library versions once everything is fixed 👌🏻
Firstly thanks for making these devtools!
However, I've run into an issue where atom updates are missing in the logs and I've narrowed the issue down to a particular scenario. I have an atom which contains a list of ids and whenever it gets a new id added, it renders a component that updates another atom on initial render. This is done in an effect hook and when I look at the devtools, they only show atom state from the effect hook and not the ids list.
I tried reproducing the issue in a codesandbox but it's not 100% the same behaviour. If you keep clicking the button, it seems to arbitrarily switch between showing the ids and the effect hook atom. But in my own code, it only shows the effect hook atom.
https://codesandbox.io/s/recoil-devtools-useeffect-bug-k272i?file=/src/Item.js:194-294
The text was updated successfully, but these errors were encountered: