text is used as a state variable but not declared

前端 未结 0 1765
独厮守ぢ
独厮守ぢ 2021-01-26 05:28

In the following example from docs on useReducer

The state variable text is used in

onChangeText={(text) => {
      dispatch({ type: \'firs         


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