You can simulate replaceState in your component by using only a single state variable. Ie. always do: setState({mystate: {...}}); Then you ...
確定! 回上一頁