I'd like to ask a question about the click button jump of react.

recently used ant design mobile as a mobile page. I"d like to ask about how to click the button to jump to the page to save the state. Novice

Mar.02,2021

1. Do you want to save the data of the page before the jump?
2. You can use redux, or cookie,localStorage,sessionStorage to save

http://www.lixuejiang.me/2016.


whatever the boss upstairs says is fine, but it still depends on what is used in your project. If you use redux, you'd better leave it to redux to manage

.
Menu