React - Custom event is working in Chrome but not in Mozilla Firefox

后端 未结 0 708
既然无缘
既然无缘 2021-01-14 15:56

I want to create a listener to localStorage setItem event, from the same tab, in React. I tried to add storage event window.addEventListener(\'storage\', handleStorage

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