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
<br><ahref="https://osawards.com/react/">React Open Source Awards 2020</a>
7
+
<br>
8
+
<ahref="https://osawards.com/react/"> Nominated for React Open Source Awards 2020 </a>
9
+
<br>
9
10
</h1>
10
11
12
+
<h4align="center"> Reactime is a performance and debugging tool for React developers. It records a snapshot whenever a target application's state is changed and allows the user to jump to any previously recorded state. </h4>
<b>Reactime</b> is a performance and debugging tool for React developers. It records a snapshot whenever a target application's state is changed and allows the user to jump to any previously recorded state.
42
+
<palign="center">
43
+
<ahref="#how-to-use">How To Use</a> • <ahref="#features">Features</a> • <ahref="https://reactime.io">Website</a> • <ahref="#readmore">Read More</a>
44
+
</p>
26
45
27
46
Currently, Reactime supports React apps using stateful components and Hooks, with beta support for Recoil and Context API.
28
47
29
48
<b>Reactime version 7.0</b> beta can help you to avoid unnecessary re-renders. Identifying wasted renders in your React applications is the perfect start to identifying most performance issues.
30
-
Reactime 7.0 fixes previous version bugs and incorporates improved visualizations for component relationships. Reactime 7.0 includes expanded [typedoc](https://typedoc.org/api/) documentation for developers looking to contribute to the source code.
49
+
Reactime 7.0 fixes previous version bugs and incorporates improved visualizations for component relationships. Reactime 7.0 includes expanded [typedoc](https://typedoc.org/api/) documentation for developers looking to contribute to the source code.
31
50
32
-
After installing Reactime, you can test its functionalities with your React application in development mode.
51
+
After installing Reactime, you can test its functionalities with your React application in development mode.
33
52
34
53
Please note, the time jumping feature will ONLY work when your application is running in development mode. In production mode, you are able to view your application’s component map but no additional features.
54
+
35
55
## <b>Installation</b>
36
56
37
-
To get started, install the Reactime [extension](https://chrome.google.com/webstore/detail/reactime/cgibknllccemdnfhfpmjhffpjfeidjga) from Chrome Web Store.
57
+
To get started, install the Reactime [extension](https://chrome.google.com/webstore/detail/reactime/cgibknllccemdnfhfpmjhffpjfeidjga) from Chrome Web Store.
38
58
39
59
NOTE: The React Developer Tools [extension](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en) is also required for Reactime to run, if you do not already have it installed on your browser.
40
60
41
61
### <b>Alternative Installation</b>
42
-
Use `src/extension/build/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.
43
62
63
+
Use `src/extension/build/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.
44
64
45
65
## <b>How to Use</b>
46
66
@@ -51,25 +71,30 @@ Then open up your Chrome DevTools and navigate to the Reactime panel.
51
71
## <b>Troubleshooting</b>
52
72
53
73
### <b>Why is Reactime telling me that no React application is found?</b>
74
+
54
75
Reactime initially runs using the dev tools global hook from the Chrome API. It takes time for Chrome to load this. Try refreshing your application a couple times until you see Reactime running.
55
76
56
-
### <b>There is a black screen instead of the Reactime extension</b>
57
-
Try refreshing the application you want to test and refresh the DevTools by clicking the right mouse button “Reload frame”.
77
+
### <b>There is a black screen instead of the Reactime extension</b>
78
+
79
+
Try refreshing the application you want to test and refresh the DevTools by clicking the right mouse button “Reload frame”.
58
80
59
81
### <b>I found a bug in Reactime</b>
82
+
60
83
Reactime is an open source project, and we’d really appreciate your help with improving user experience. Please, create a pull request (or issue) to propose and collaborate on changes to a repository.
61
84
62
85
## <b>Features</b>
63
86
64
87
### Re-render Optimization
65
-
One of the most common issues that affects performance in React is unnecessary render cycles. This problem can be fixed by checking your renders in the Performance tab in Chrome DevTools under the Reactime panel.
88
+
89
+
One of the most common issues that affects performance in React is unnecessary render cycles. This problem can be fixed by checking your renders in the Performance tab in Chrome DevTools under the Reactime panel.
90
+
66
91
### Recording
67
92
68
93
Whenever state is changed (whenever setState, useState is called), this extension will create a snapshot of the current state tree and record it. Each snapshot will be displayed in Chrome DevTools under the Reactime panel.
69
94
70
95
### Viewing
71
96
72
-
You can click on a snapshot to view your app's state. State can be visualized in a Component Graph, JSON Tree, or Performance Graph. Snapshots can be diffed with the previous snapshot, which can be viewed in Diff mode.
97
+
You can click on a snapshot to view your app's state. State can be visualized in a Component Graph, JSON Tree, or Performance Graph. Snapshots can be diffed with the previous snapshot, which can be viewed in Diff mode.
73
98
74
99
### Jumping
75
100
@@ -85,7 +110,7 @@ After cloning this repository, developers can simply run `npm run docs` at the r
85
110
86
111
### <b>Additional Features</b>
87
112
88
-
- identifying unnecessary re-renders
113
+
- identifying unnecessary re-renders
89
114
- hover functionality to view tooltip details on state visualizations
90
115
- ability to pan and zoom on state visualizations
91
116
- a dropdown to support development of projects on multiple tabs
@@ -97,12 +122,14 @@ After cloning this repository, developers can simply run `npm run docs` at the r
97
122
- declarative titles in the actions sidebar
98
123
99
124
## <b>Read More</b>
125
+
100
126
-[Time-Travel State with Reactime](https://medium.com/better-programming/time-traveling-state-with-reactime-6-0-53fdc3ae2a20)
101
127
-[React Fiber and Reactime](https://medium.com/@aquinojardim/react-fiber-reactime-4-0-f200f02e7fa8)
102
128
-[Meet Reactime - a time-traveling State Debugger for React](https://medium.com/@yujinkay/meet-reactime-a-time-traveling-state-debugger-for-react-24f0fce96802)
103
129
-[Deep in Weeds with Reactime, Concurrent React_fiberRoot, and Browser History Caching](https://itnext.io/deep-in-the-weeds-with-reactime-concurrent-react-fiberroot-and-browser-history-caching-7ce9d7300abb)
0 commit comments