Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react route multiple components

//use multiple components in one Route:
<Route path='/path' render={props =>
  <div>
    <FirstChild />
    <SecondChild />
  </div>
} />
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #react #route #multiple #components
ADD COMMENT
Topic
Name
3+7 =