Angular resolver equivalent for react
Hi,
I'm moving app from angular to react and I'm not able to find equivalent.
The application consists of 3 pages/steps.
user can move back and forward between steps using buttons and even browser buttons.
on each move application should call server and do some business logic on server. But the call might failed and I need to stay on "from" page and show error dialog.
I tried Route#berforeLoad, but it ends on error page. Is it posible to stay on FROM page? How to get FROM page from beforeLoad?
0 Replies