react prevent/stop unmounting component

前端 未结 0 1897
闹比i
闹比i 2020-12-31 03:18

I am new to React so I apologise in advance. How can I stop unmounting a component in React please. I would like to warn the user in my application of losing all the unsaved

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