hash mode.
but after using react-router 4, I found that the default is not hash mode, and the page does not reload after router changes url.
want to know what technology it is
hash mode.
but after using react-router 4, I found that the default is not hash mode, and the page does not reload after router changes url.
want to know what technology it is
history
history.pushState
, history.replaceState
modify history
history.popstate
listening history
fetch(url) .then(res => res.text()) .then(result => { this.setState({ detail: result }); }); render () { return ( <div dangerouslySetInnerHTML={{ __html:thi...