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";
2
2
import { BrowserRouter as Router , Route , Link } from "react-router-dom" ;
3
3
import PerformanceOptimizations from "./performance-optimizations" ;
4
4
import RefsExample from './refs'
5
+ import HOC from './component-patterns/hoc'
5
6
import ErrorBoundaries from "./error-boundaries" ;
6
7
import { Provider } from 'react-redux'
7
8
import { createStore } from "redux" ;
@@ -25,6 +26,9 @@ class App extends Component {
25
26
< li >
26
27
< Link to = "/" > Home</ Link >
27
28
</ li >
29
+ < li >
30
+ < Link to = "/hoc" > HOC</ Link >
31
+ </ li >
28
32
< li >
29
33
< Link to = "/refs" > Refs</ Link >
30
34
</ li >
@@ -38,6 +42,7 @@ class App extends Component {
38
42
</ div >
39
43
< div className = "content" >
40
44
< Route exact path = "/" component = { Home } />
45
+ < Route path = "/hoc" component = { HOC } />
41
46
< Route path = "/performance-optimizations" component = { PerformanceOptimizations } />
42
47
< Route path = "/error-boundaries" component = { ErrorBoundaries } />
43
48
< Route path = "/refs" component = { RefsExample } />
You can’t perform that action at this time.
0 commit comments