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

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -