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
{{ message }}
This repository was archived by the owner on Nov 10, 2021. It is now read-only.
I experienced crashes with my application when using the provided hooks.
When I try to inspect a component using the useMappedState hook, the application will crash with the following error:
My code implementation for the name component:
importReact,{useCallback}from'react'import{useMappedState}from'redux-react-hook'constNamePreview=()=>{constmapState=useCallback(state=>({name: state.name}),[])const{ name }=useMappedState(mapState)return(<div>{name}</div>)}exportdefaultNamePreview
looks like the devtools don't know how to interpret the value of the mapped state. Anyone else experienced issues like this?