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?

enter image description here

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

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -