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,414
  • 2
  • 28
  • 59
jsDev
  • 106
  • 1
  • 11

0 Answers0