localStorage works on desktop but not mobile (iOS version 12.2)

前端 未结 1 1610
时光取名叫无心
时光取名叫无心 2021-01-29 05:11

I have created a simple Todos app using React, and have implemented localStorage in order to persist data between page refreshes. The implementation is something li

相关标签:
1条回答
  • 2021-01-29 05:49

    I found the problem, beforeunload safari mobile does not support this event. Look this docs Events/beforeunload

    0 讨论(0)
提交回复
热议问题