Is it a good idea to get user data from local storage and not from API?

后端 未结 0 1359
野性不改
野性不改 2021-01-03 04:54

I need to show logged in user\'s profile image in the header. But I don\'t want to call API on every page where header stands. Is it a good idea to store current user inform

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