One of the components acceses store at first mount to get the url from the "previous" page (in mapStoreToProps) so that if the user "Cancels" they can be returned to the previous Page.
but history.GoBack already has this info.
Simplify my code by using this function instead of history.push(prevUrl) plus all the extra (breakable) brittle code to save, but not overwrite the prevUrl.
One of the components acceses store at first mount to get the url from the "previous" page (in mapStoreToProps) so that if the user "Cancels" they can be returned to the previous Page.
but history.GoBack already has this info.
Simplify my code by using this function instead of history.push(prevUrl) plus all the extra (breakable) brittle code to save, but not overwrite the prevUrl.