By refetch you referring to Refresh of the browser?
If so, I would suggest use some redux-persist or managing your own storage over localstorage, on each open/close of the modal, you should update your store/localstorage, and on the next refresh, check if you got modal data stored and open the modal again accordantly.
发布评论
评论(1)
通过抢购,您指的是浏览器的刷新?
如果是这样,我建议您使用一些 redux-persist 或通过 localStorage> localstorage ,在每个开放/闭幕式上,您应该应该更新您的商店/localstorage,然后在下一个刷新中,检查是否存储了模态数据,然后再次公开模态。
By refetch you referring to Refresh of the browser?
If so, I would suggest use some redux-persist or managing your own storage over localstorage, on each open/close of the modal, you should update your store/localstorage, and on the next refresh, check if you got modal data stored and open the modal again accordantly.