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
4. Done! That's all you have to do to link your React project to our library.
@@ -48,7 +48,7 @@ reactTimeTravel(rootContainer);
48
48
49
49
After installing both the Chrome extension and the npm package, just open up your project in the browser.
50
50
51
-
Then open up your Chrome DevTools. There'll be a new tab called reactime.
51
+
Then open up your Chrome DevTools. There'll be a new tab called Reactime.
52
52
53
53
## Features
54
54
@@ -58,13 +58,11 @@ Whenever state is changed (whenever setState is called), this extension will cre
58
58
59
59
### Viewing
60
60
61
-
You can click on a snapshot to view your app's state. State can be visualized in a JSON or a tree.
62
-
63
-
The selected snapshot can also be diffed/compared with the current dom.
61
+
You can click on a snapshot to view your app's state. State can be visualized in a JSON or a tree. Also, snapshots can be diffed with the previous snapshot, which can be viewed under the Diff tab.
64
62
65
63
### Jumping
66
64
67
-
The most important feature of all. Jumping to any previous recorded snapshot. Hitting the jump button on any snapshot will change the dom by setting their state. One important thing to note. This library does not work well when mixing React with direct DOM manipulation. Since DOM manipulation doesn't change any React state, this library cannot record or even detect that change. Of course, you should be avoiding mixing the two in the first place.
65
+
Jumping is the most important feature of all. It allows you to jump to any previous recorded snapshots. Hitting the jump button on any snapshot will change the DOM by setting their state. One important thing to note is that this library does not work well when mixing React with direct DOM manipulation. Since DOM manipulation doesn't change any React state, this library cannot record or even detect that change. Of course, you should be avoiding mixing the two in the first place.
68
66
69
67
### Others
70
68
@@ -75,7 +73,7 @@ Other handy features include:
75
73
- a play button to move through snapshots automatically
76
74
- a pause which button stops recording each snapshot
77
75
- a lock button to freeze the DOM in place. setState will lose all functionality while the extension is locked
78
-
- a persist button to keep snapshots upon refresh. handy when changing code and debugging
76
+
- a persist button to keep snapshots upon refresh (handy when changing code and debugging)
0 commit comments