reactjs - react webpack app often got a blanc page after reload -
my reactjs app runs webpack @ moment. have problem when save changes in intellij site recompiled. not loaded again
when i'm under url localhost:8080/dashboard/new reloads got white page error in console:
all:32 http://localhost:8080/dashboard/bundle.js
i have manualle reload page root url http://localhost:8080 paged renedered.
what problem?
solution me is:
class processes extends react.component { render() { return ( <div> <route path={`${this.props.match.url}/new`} component={processesnew} /> <route path={`${this.props.match.url}`} exact component={processesall} /> </div> ) } } export default processes;
Comments
Post a Comment