useContext clear when logout function react js

后端 未结 0 1991
無奈伤痛
無奈伤痛 2020-12-23 16:38

I need to clear useContext values in the logout function. This is the values

      const [appUserConfig, setAppUserConfig] = useContext(UserContext);
  const          


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