0

I have one sensitive route /test. And if the user wants to leave this route, I want to show him some confirmation window, if he presses cancel button - nothing is going to change if he confirms then - function some() must be executed and route must also be changed.

Nemo
  • 2,441
  • 2
  • 29
  • 63
jsDev
  • 136
  • 2
  • 12

0 Answers0