File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -99,17 +99,17 @@ class ComponentToTrace extends React.Component {
99
99
}
100
100
```
101
101
102
- Alternatively, apply ` traceLifeCycle ` directly to the class, like this:
102
+ Alternatively, apply ` traceLifecycle ` directly to the class, like this:
103
103
104
104
``` jsx
105
- const ComponentToTrace = traceLifeCycle (class ComponentToTrace extends React .Component {... });
105
+ const ComponentToTrace = traceLifecycle (class ComponentToTrace extends React .Component {... });
106
106
```
107
107
108
108
or
109
109
110
110
``` jsx
111
111
class ComponentToTraceOrg extends React .Component {... }
112
- const ComponentToTrace = traceLifeCycle (ComponentToTraceOrg);
112
+ const ComponentToTrace = traceLifecycle (ComponentToTraceOrg);
113
113
```
114
114
115
115
#### Traced component props: ` LifecyclePanel ` and ` trace `
You can’t perform that action at this time.
0 commit comments