useState array not updated when invoking function from another screen

后端 未结 0 937
陌清茗
陌清茗 2021-01-11 14:22

I\'m trying to add items to an array saved as a local state (using useState) through a function that is sent to another screen as a navigation param.

Assume i have Sc

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