File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import React, { Component } from "react";
22import { BrowserRouter as Router , Route , Link } from "react-router-dom" ;
33import PerformanceOptimizations from "./performance-optimizations" ;
44import RefsExample from './refs'
5+ import HOC from './component-patterns/hoc'
56import ErrorBoundaries from "./error-boundaries" ;
67import { Provider } from 'react-redux'
78import { createStore } from "redux" ;
@@ -25,6 +26,9 @@ class App extends Component {
2526 < li >
2627 < Link to = "/" > Home</ Link >
2728 </ li >
29+ < li >
30+ < Link to = "/hoc" > HOC</ Link >
31+ </ li >
2832 < li >
2933 < Link to = "/refs" > Refs</ Link >
3034 </ li >
@@ -38,6 +42,7 @@ class App extends Component {
3842 </ div >
3943 < div className = "content" >
4044 < Route exact path = "/" component = { Home } />
45+ < Route path = "/hoc" component = { HOC } />
4146 < Route path = "/performance-optimizations" component = { PerformanceOptimizations } />
4247 < Route path = "/error-boundaries" component = { ErrorBoundaries } />
4348 < Route path = "/refs" component = { RefsExample } />
You can’t perform that action at this time.
0 commit comments