You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-21Lines changed: 2 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Though technically not lifecycle methods, `setState` & `render` are also traced.
27
27
2. If `update` is a function instead of an object, `'setState:update fn'` is logged when that function is evaluated.
28
28
3. If a `callback` function is provided, `'setState:callback'` is logged when it's called.
29
29
30
-
To save space, the lifecycle panel only contains `setState`, which gets highlighted for any of the three events above.
30
+
To save space, the lifecycle panel only contains `setState`, which gets highlighted on any of the three events above.
31
31
32
32
33
33
## Run the demo locally
@@ -52,7 +52,7 @@ $ npm i react-lifecycle-visualizer
52
52
53
53
#### Setup
54
54
55
-
The set up tracing, wrap the root or some other ancestor component in a `<VisualizerProvider>` and include the `<Log/>` component somewhere. For example:
55
+
To set up tracing, wrap the root or some other ancestor component in a `<VisualizerProvider>` and include the `<Log/>` component somewhere. For example:
0 commit comments