SyntaxFix
Write A Post
Hire A Developer
Questions
Please try this.
<Router> <div> <Route exact path="/" component={Home} /> <Route path="/news" component={NewsFeed} /> </div> </Router>