Redux: useSelector is not updating the state after useDispatch

后端 未结 0 2038
难免孤独
难免孤独 2020-12-24 03:26
import { useSelector, useDispatch } from \'react-redux\';    

const dispatch = useDispatch();
const settingState = useSelector((state: RootState) => state.settin         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题