Storing userId: state vs context vs asyncstorage

后端 未结 0 1050
渐次进展
渐次进展 2020-12-06 01:35

How would you recommend storing userId (logged in user) and having child components respond to this?

With state and context the child components re-render if this val

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