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 have a component that seems to work fine, except when I scroll. I am trying to implement infinite scroll. And when I do a scroll and my target is found, my redux state object resets to null.
Click CONNECT button on upper right side and then click Connect button on modal
Once you connect you should see a bunch of content items display in middle of screen (DO NOT click on the row of avatars near top of screen)
Notice console log has this entry "entered getData currentFollowedId: 0, profile: [object Object], priorKeyset: 0, refreshWorksList: false". Notice that profile is an object and not null
Scroll to bottom of item list and you should see a spinner
View console logs again and notice message like this "entered getData currentFollowedId: 0, profile: null, priorKeyset: 0, refreshWorksList: false". Profile should not be null since no logoff action was performed. You can view code to confirm.
If you're looking for help debugging your code, Stack Overflow would be a better place to ask. This issue tracker is, unfortunately, only for reporting bugs in the React library itself. Search through the existing React questions on Stack Overflow, and if you don't find what you're looking for, ask your own.
If this is an issue in React itself, can you please provide a minimal, reproducible example demonstrating this error, and why you think it is a bug in React?
I have a component that seems to work fine, except when I scroll. I am trying to implement infinite scroll. And when I do a scroll and my target is found, my redux state object resets to null.
React version: 18.2.0
React Redux: 9.1.0
Redux Toolkit: 2.2.1
Steps To Reproduce
Link to code example: https://github.com/jsoneaday/freeauthor
The current behavior
My redux state value resets to default values
The expected behavior
Excpect any values that have been set to stay as they are
The text was updated successfully, but these errors were encountered: