I forked this React app :https://github.com/react-boilerplate/react-boilerplate
At the moment I am trying to display a simple container called 'Schedule' to the app, the container was generated through the app:
export class Schedule extends React.Component { // eslint-disable-line react/prefer-stateless-function
render() {
return (
<div>
<Helmet>
<title>Schedule</title>hoera
<meta name="description" content="Description of Schedule" />
</Helmet>
</div>
);
}
}
Now I am trying to use this container inside another container:
import Schedule from 'containers/Schedule';
<AppWrapper>
<Schedule></Schedule>
<Helmet
titleTemplate="%s - React.js Boilerplate"
defaultTitle="React.js Boilerplate"
>
<meta name="description" content="A React.js Boilerplate application" />
</Helmet>
<Header />
<Switch>
<Route exact path="/" component={HomePage} />
<Route path="/features" component={FeaturePage} />
<Route path="" component={NotFoundPage} />
<Route path="/schedule" component={Schedule} />
</Switch>
<Footer />
<AppWrapper/>
The issue is that Schedule is not displaying. How can I display this container? complete source:react-boilerplate