fetch(url)
.then(res => res.text())
.then(result => {
this.setState({
detail: result
});
});
render () {
return (
<div
dangerouslySetInnerHTML={{ __html:this.state.detail }}
/>
);
}
the result is how can some a tags be changed to route jump
< Link to= {} > < / Link >