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
Describe the bug
The renderer crashes on the end of the scroll down animation ( debounce ) if I use a custom HeaderComponent with a redux-toolkit enabled selector in it.
Reproduce Snack Demo
sadly it does not work in the browser but you can run it locally.
if you in and outcomment line 6/7 in the compoinents/Header.js File you can see that it works or throws an error based on if the store is used or not.
Dependencies:
"@react-navigation/native": "^6.1.1",
"@react-navigation/native-stack": "^6.9.7",
"react-native-gesture-handler": "~2.8.0",
"react-native-modalize": "^2.1.1",
"react": "18.1.0",
"react-native": "0.70.5",
I would guess that the Header component is not reactive, so it is only loaded once and does not update... ?
Update: I tried it with other selectors. The moment useSelector() is used in the Header component, the error ocures. the result of the selector does not need to be used.
The text was updated successfully, but these errors were encountered:
Describe the bug
The renderer crashes on the end of the scroll down animation ( debounce ) if I use a custom HeaderComponent with a redux-toolkit enabled selector in it.
Reproduce
Snack Demo
sadly it does not work in the browser but you can run it locally.
if you in and outcomment line 6/7 in the compoinents/Header.js File you can see that it works or throws an error based on if the store is used or not.
Dependencies:
I would guess that the Header component is not reactive, so it is only loaded once and does not update... ?
Update: I tried it with other selectors. The moment useSelector() is used in the Header component, the error ocures. the result of the selector does not need to be used.
The text was updated successfully, but these errors were encountered: