React - Context Provider maintains default value

后端 未结 0 598
情歌与酒
情歌与酒 2021-01-31 07:20

The value of the context remains the default value.

Initializing the context:

const appContext = createContext();

c         


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