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
<imgsrc="demo.gif"alt="Demo of Reactime"style="width: 55%">
13
-
</p>
10
+

14
11
15
-
Reactime is a debugging tool for React developers. It records state whenever it is changed and allows the user to jump to any previously recorded state.
16
12
17
-
This dev tool is for React apps using stateful components and prop drilling, and has beta support for Context API, conditional state routing, Hooks (useState, useEffect) and functional components.
18
13
19
-
One thing to note is that this library does not work well when mixing React with direct DOM manipulation.
14
+
Reactime is a debugging tool for React developers. It records state whenever it is changed and allows the user to jump to any previously recorded state.
15
+
16
+
This tool is for React apps using stateful components and prop drilling, and has beta support for Context API, conditional state routing, Hooks (useState, useEffect) and functional components.
20
17
21
-
Two parts are needed for this tool to function. The [**chrome extension**](https://chrome.google.com/webstore/detail/react-time-travel/cgibknllccemdnfhfpmjhffpjfeidjga) must be installed, and the [**NPM package**](https://www.npmjs.com/package/reactime) must be installed and used in the React code. You can also download [**zipped version**](build.zip) of the chrome extension and install it in [Developer mode](https://developer.chrome.com/extensions/faq#faq-dev-01) and turn on 'Allow access to file URLs' in extension details page if testing locally.
18
+
The latest release extends the core functionality by including support for TypeScript applications, improving the user experience through more declarative titles in the actions panel, and extending support for components with conditional state fields. The testing suite has also been expanded with the inclusion of a Sandbox utility to aid future expansion as well as additional E2E and integration tests with Puppeteer and React Testing Library.
22
19
23
-
After successfully installing the chrome extension, you can test Reactime functionalities in the demo repositories below.
20
+
After installing the Reactime, you can test its functionalities in the following demo repositories:
1. Download the [extension](https://chrome.google.com/webstore/detail/reactime/cgibknllccemdnfhfpmjhffpjfeidjga)from Chrome Web Store.
27
+
Two parts are required for this tool to function: a [**Chrome extension**](https://chrome.google.com/webstore/detail/react-time-travel/cgibknllccemdnfhfpmjhffpjfeidjga)and an [**NPM package**](https://www.npmjs.com/package/reactime).
31
28
32
-
2. Install the [npm package](https://www.npmjs.com/package/reactime) in your code.
29
+
1. Install the Reactime [extension](https://chrome.google.com/webstore/detail/reactime/cgibknllccemdnfhfpmjhffpjfeidjga) from Chrome Web Store. Alternatively, a [**zipped version**](build.zip) has been provided in `build.zip` for manual installation in [Developer mode](https://developer.chrome.com/extensions/faq#faq-dev-01). Turn on 'Allow access to file URLs' in extension details page if testing locally.
30
+
31
+
2. Install the [NPM package](https://www.npmjs.com/package/reactime) in your application's root directory.
33
32
34
33
```
35
34
npm i reactime
@@ -60,9 +59,9 @@ reactime(rootContainer);
60
59
61
60
## How to Use
62
61
63
-
After installing both the Chrome extension and the npm package, just open up your project in the browser.
62
+
After installing both the Chrome extension and the NPM package, just open up your project in the browser.
64
63
65
-
Then open up your Chrome DevTools. There'll be a new tab called Reactime.
64
+
Then open up your Chrome DevTools and navigate to the Reactime tab.
66
65
67
66
## Features
68
67
@@ -78,7 +77,11 @@ You can click on a snapshot to view your app's state. State can be visualized in
78
77
79
78
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.
80
79
81
-
### And Much More
80
+
### TypeScript Support
81
+
82
+
Reactime offers beta support for TypeScript applications using stateful class components and functional components with useState hooks. Further testing and development is required for custom hooks, Context API, and Concurrent Mode.
83
+
84
+
### Additional Features
82
85
83
86
- multiple tree graph branches depicting state changes
84
87
- tree graph hover functionality to view state changes
@@ -90,6 +93,9 @@ Jumping is the most important feature of all. It allows you to jump to any previ
90
93
- a lock button to freeze the DOM in place. setState will lose all functionality while the extension is locked
91
94
- a persist button to keep snapshots upon refresh (handy when changing code and debugging)
92
95
- export/import the current snapshots in memory
96
+
- declarative titles in the actions panel
97
+
- extended support for components with conditional state fields
98
+
- a Sandbox utility to aid future expansion
93
99
94
100
## Authors
95
101
@@ -105,7 +111,12 @@ Jumping is the most important feature of all. It allows you to jump to any previ
0 commit comments