Home > front end >  The react how to put the location of the state parameter serialization to save to the url
The react how to put the location of the state parameter serialization to save to the url

Time:12-08

React routing is a state of the state, I all the parameters are stored in the inside, the values is done with this. Props. Location. State. XXX, then in copying the url to the new page, found that the state is undefined, I take the inside of the state parameter serialization to save to the url, in the new page or copy the url to the routing jump can deserialize update routing state
  • Related