How can I use state accross multiple components?

后端 未结 0 524
無奈伤痛
無奈伤痛 2020-12-30 05:43

I currently am storing user login in local storage and am rendering the appropriate nav bar depending. However, The page does not re-render upon sign-in or sign-out. I need

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