Skip to content

Commit 9b6a3af

Browse files
committed
Fix typo: traceLifeCycle ~> traceLifecycle
Fixes #5
1 parent b5afcab commit 9b6a3af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,17 +99,17 @@ class ComponentToTrace extends React.Component {
9999
}
100100
```
101101

102-
Alternatively, apply `traceLifeCycle` directly to the class, like this:
102+
Alternatively, apply `traceLifecycle` directly to the class, like this:
103103

104104
```jsx
105-
const ComponentToTrace = traceLifeCycle(class ComponentToTrace extends React.Component {...});
105+
const ComponentToTrace = traceLifecycle(class ComponentToTrace extends React.Component {...});
106106
```
107107

108108
or
109109

110110
```jsx
111111
class ComponentToTraceOrg extends React.Component {...}
112-
const ComponentToTrace = traceLifeCycle(ComponentToTraceOrg);
112+
const ComponentToTrace = traceLifecycle(ComponentToTraceOrg);
113113
```
114114

115115
#### Traced component props: `LifecyclePanel` and `trace`

0 commit comments

Comments
 (0)