React life cycle in Safari using back button
up vote
1
down vote
favorite
Got an issue with safari loading a react app when back button is clicked. I have tried "pageshow" event but persisted event.persisted is always false and it seems that the lifecycle of react is not being execute.
Do you know if there is a way to force the lifecycle in react when the back button is clicked in safari?
Thanks in advance for your answers, also me know if you have questions.
reactjs safari react-router mobile-safari
add a comment |
up vote
1
down vote
favorite
Got an issue with safari loading a react app when back button is clicked. I have tried "pageshow" event but persisted event.persisted is always false and it seems that the lifecycle of react is not being execute.
Do you know if there is a way to force the lifecycle in react when the back button is clicked in safari?
Thanks in advance for your answers, also me know if you have questions.
reactjs safari react-router mobile-safari
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Got an issue with safari loading a react app when back button is clicked. I have tried "pageshow" event but persisted event.persisted is always false and it seems that the lifecycle of react is not being execute.
Do you know if there is a way to force the lifecycle in react when the back button is clicked in safari?
Thanks in advance for your answers, also me know if you have questions.
reactjs safari react-router mobile-safari
Got an issue with safari loading a react app when back button is clicked. I have tried "pageshow" event but persisted event.persisted is always false and it seems that the lifecycle of react is not being execute.
Do you know if there is a way to force the lifecycle in react when the back button is clicked in safari?
Thanks in advance for your answers, also me know if you have questions.
reactjs safari react-router mobile-safari
reactjs safari react-router mobile-safari
asked Nov 9 at 15:18
Carlos Avila
61
61
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53228477%2freact-life-cycle-in-safari-using-back-button%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown