Getting Item From local Storage in React JS

前端 未结 0 1527
有刺的猬
有刺的猬 2020-12-04 05:38

I\'m trying to get the user ID I stored in local storage during login but I\'m getting null from my componentDidMount call.

This is how I am getting it: const c

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