|
15 | 15 | <p align="center">
|
16 | 16 | <a href="https://github.com/oslabs-beta/reactime">
|
17 | 17 | <img src="https://img.shields.io/github/license/oslabs-beta/reactime" alt="GitHub">
|
18 |
| - </a> |
19 |
| - <a href="https://travis-ci.com/oslabs-beta/reactime"> |
20 |
| - <img src="https://travis-ci.com/oslabs-beta/reactime.svg?branch=master" alt="Build Status"> |
21 |
| - </a> |
22 |
| - <a href="http://badge.fury.io/js/reactime"> |
23 |
| - <img src="https://badge.fury.io/js/reactime.svg" alt="npm version"> |
24 | 18 | </a>
|
25 | 19 | <img src="https://img.shields.io/badge/babel%20preset-airbnb-ff69b4" alt="BabelPresetPrefs">
|
26 | 20 | <img src="https://img.shields.io/badge/linted%20with-eslint-blueviolet" alt="LintPrefs">
|
27 | 21 | </p>
|
28 | 22 |
|
29 |
| -<!-- [](https://github.com/oslabs-beta/reactime) [](https://travis-ci.com/oslabs-beta/reactime) [](http://badge.fury.io/js/reactime)   --> |
30 |
| - |
31 | 23 | <h5 align="center">
|
32 | 24 | <br>
|
33 | 25 | <a href="./README.rus.md">🇷🇺 РУССКАЯ ВЕРСИЯ</a> • <a href="./README.fr.md">🇫🇷 VERSION FRANÇAISE</a> • <a href='./src/README.md'>DEVELOPER README</a>
|
|
40 | 32 | </p>
|
41 | 33 |
|
42 | 34 | <p align="center">
|
43 |
| - <a href="#how-to-use">How To Use</a> • <a href="#features">Features</a> • <a href="https://www.reacti.me/">Website</a> • <a href="#read-more">Read More</a> |
| 35 | + <a href="https://www.reacti.me/">Website</a> |
44 | 36 | </p>
|
45 | 37 |
|
46 |
| -<b>Reactime 19.0</b> comes with UI updates to enhance the developer's experience, as well as a much-needed revamping of the codesbase to reflect current industry standards and better maintainability for future contributors. |
47 |
| - |
48 |
| -<i>UI Updates</i> |
49 |
| - |
50 |
| -To handle displaying large amounts of data, we have changed how nested structures like objects and arrays are displayed to now be collapsible and scrollable. In addition, we've updated component information to include the necessary component "key" information, and data now also persists on hover, eliminating the need to leave the cursor in one place. |
51 |
| - |
52 |
| -<i>Under the Hood</i> |
53 |
| - |
54 |
| -We are happy to say that we've migrated from Enzyme to React Testing Library to eliminate the need for the Enzyme adapter, converted from JavaScript to TypeScript to ensure type safety, and updated the traversal of the React Fiber Tree to accurately extract useState data for previously unsupported edge cases. |
55 |
| - |
56 |
| -<b>Reactime 18.0</b> introduces a range of new and improved features aimed at optimizing performance and enhancing compatibility. |
57 |
| -With support for Next.js and Remix, increased testing coverage(93% backend, frontend needs more), and structural improvements to the codebase. |
58 |
| -Additionally, we are proud to announce the launch of our newly redesigned website, which serves as a hub for the latest updates and information about Reactime. |
59 |
| -To aid with debugging, we have included demo applications for Next.js and Remix, enabling future iterators to test and troubleshoot with greater ease and efficiency. |
60 |
| - |
61 |
| -<b>Reactime 17.0</b> |
62 |
| -We are pleased to announce the release of Reactime 17.0, |
63 |
| -which includes several new and improved features. Context API support has now been added. |
64 |
| -You can now monitor state stored in context if your component is subscribed to context changes. |
65 |
| -We also improved the tooltip UI on our tree diagram to improve readability. |
66 |
| -In addition, we have redesigned the Reactime.dev website using Tailwind CSS, |
67 |
| -resulting in a clean, modern design with an intuitive layout. |
68 |
| -To stay informed about future updates, you can now sign up for email notifications. |
69 |
| - |
70 |
| -If you would like to read more about previous releases, click <a href="https://github.com/open-source-labs/reactime/releases">here!</a> |
71 |
| - |
72 |
| -<p align="center"> |
73 |
| -<img src="./assets/snapshot-comparison.gif" /> |
74 |
| - |
75 |
| -After installing Reactime, you can test its functionalities with your React |
76 |
| -application in development mode. |
77 |
| - |
78 |
| -Please note, the time jumping feature will <b>ONLY</b> work when your |
79 |
| -application is running in <b>development mode</b>. In production mode, you are |
80 |
| -able to view your application’s component map but no additional features. |
81 |
| - |
82 |
| -## <b>Installation</b> |
83 |
| - |
84 |
| -To get started, install the Reactime |
85 |
| -[extension](https://chrome.google.com/webstore/detail/reactime/cgibknllccemdnfhfpmjhffpjfeidjga) |
86 |
| -from Chrome Web Store. |
87 |
| - |
88 |
| -NOTE: The React Developer Tools |
89 |
| -[extension](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en) |
90 |
| -is also required for Reactime to run, if you do not already have it installed on |
91 |
| -your browser. |
92 |
| - |
93 |
| -### Manual Installation |
94 |
| - |
95 |
| -Go to Chrome Extensions (make sure Chrome Extension is in Developer Mode) for |
96 |
| -manual installation in (https://developer.chrome.com/extensions/faq#faq-dev-01) |
97 |
| -and click on Load Unpacked. Use `src/extension/build/` to load this extension. |
98 |
| -Turn on 'Allow access to file URLs' in extension details page if testing |
99 |
| -locally. |
100 |
| - |
101 |
| -### Looking to contribute to Reactime? |
102 |
| - |
103 |
| -<i>Please refer to Developer Install for a detailed guide:</i> |
104 |
| - |
105 |
| -Refer [DEVELOPER README](src/README.md) for more info on the project, and |
106 |
| -instructions on building from source. |
107 |
| - |
108 |
| -## <b>How to Use</b> |
109 |
| - |
110 |
| -After installing the Chrome extension, just open up your project in the browser. |
111 |
| - |
112 |
| -Then open up your Chrome DevTools and navigate to the Reactime panel. |
113 |
| - |
114 |
| -## <b>Troubleshooting</b> |
115 |
| - |
116 |
| -### ❓ <b>Why is Reactime telling me that no React application is found?</b> |
117 |
| - |
118 |
| -Reactime initially runs using the dev tools global hook from the Chrome API. It |
119 |
| -takes time for Chrome to load this. Try refreshing your application a couple |
120 |
| -times until you see Reactime running. |
121 |
| - |
122 |
| -### ❓ <b>Why do I need to have React Dev Tools enabled?</b> |
123 |
| - |
124 |
| -Reactime works in tandem with the React Developer Tools to access a React application's Fiber tree; under the hood, Reactime traverses the Fiber tree through the React Developer Tool's global hook, pulling all relevant information needed to display to the developer |
125 |
| - |
126 |
| -### ❓ <b>There is a black screen instead of the Reactime extension</b> |
127 |
| - |
128 |
| -Try refreshing the application you want to test and refresh the DevTools by |
129 |
| -clicking the right mouse button “Reload frame”. |
130 |
| - |
131 |
| -### ❓ <b>I found a bug in Reactime</b> |
132 |
| - |
133 |
| -Reactime is an open source project, and we’d really appreciate your help with |
134 |
| -improving user experience. Please read [DEVELOPER README](src/README.md), |
135 |
| -and create a pull request (or issue) to propose and collaborate on changes to a |
136 |
| -repository. |
137 |
| - |
138 |
| -### ❓ <b>Node version compatiability</b> |
139 |
| - |
140 |
| -With release of Node v18.12.1(LTS) on 11/4/22, the script has been updated to |
141 |
| -'npm run dev' | 'npm run build' for backwards compatibility.<br/> For version |
142 |
| -Node v16.16.0, please use script 'npm run devlegacy' | 'npm run buildlegacy' |
143 |
| - |
144 |
| -## <b>Features</b> |
| 38 | +## <h1>Features</h1> |
145 | 39 |
|
146 | 40 | ### 🔹 Viewing
|
147 | 41 |
|
|
174 | 68 | ### 🔹 Components Comparison
|
175 | 69 |
|
176 | 70 | When toggled to a specific snapshot, a visualization of the individual
|
177 |
| -components of the snapshow will be displayed. This can be done under the same |
| 71 | +components of the snapshot will be displayed. This can be done under the same |
178 | 72 | Performance tab where the snapshots are rendered. You will also find details of
|
179 | 73 | each component upon hovering.
|
180 | 74 | <br>
|
@@ -243,40 +137,102 @@ of the structure and interfaces of the codebase.
|
243 | 137 |
|
244 | 138 | ### <b>Additional Features</b>
|
245 | 139 |
|
246 |
| -- Identifying unnecessary re-renders |
247 |
| -- Single-click to view tooltip details on state visualizations |
| 140 | +- In-app tab specific tutorial walkthroughs |
| 141 | +- Hover over a component to view tooltip details on state visualizations |
248 | 142 | - Double-click to collapse child components
|
249 |
| -- A reverse filter with autofill to focus on a portion of the component map |
250 |
| -- Ability to pan and zoom on state visualizations |
| 143 | +- Click to focus on a portion of the component map |
251 | 144 | - A dropdown to support development of projects on multiple tabs
|
252 |
| -- A slider to move through snapshots quickly |
253 |
| -- A play button to move through snapshots automatically |
| 145 | +- Intuitive navigation between state snapshots |
254 | 146 | - Download/upload the current snapshots in memory
|
255 |
| -- Declarative titles in the actions sidebar |
256 |
| -- Interative Tutorial Walkthrough |
257 |
| -- Toggle feature allowing temporary pause of state monitoring |
| 147 | +- Locked/unlocked feature allowing temporary pause of state monitoring |
| 148 | + |
| 149 | +<h1>What's New!</h1> |
| 150 | + |
| 151 | +<b>Reactime 19.0</b> comes with UI updates to enhance the developer's experience, as well as a much-needed revamping of the codebase to reflect current industry standards and better maintainability for future contributors. |
| 152 | + |
| 153 | +<i>UI Updates</i> |
| 154 | + |
| 155 | +To handle displaying large amounts of data, we have changed how nested structures like objects and arrays are displayed to now be collapsible and scrollable. In addition, we've updated component information to include the necessary component "key" information, and data now also persists on hover, eliminating the need to leave the cursor in one place. |
| 156 | + |
| 157 | +<i>Under the Hood</i> |
| 158 | + |
| 159 | +We are happy to say that we've migrated from Enzyme to React Testing Library to eliminate the need for the Enzyme adapter, converted from JavaScript to TypeScript to ensure type safety, and updated the traversal of the React Fiber Tree to accurately extract useState data for previously unsupported edge cases. |
| 160 | + |
| 161 | +If you would like to read more about previous releases, click <a href="https://github.com/open-source-labs/reactime/releases">here!</a> |
| 162 | + |
| 163 | +<p align="center"> |
| 164 | + |
| 165 | +<h1>Installation</h1> |
| 166 | + |
| 167 | +To get started, install the Reactime |
| 168 | +[extension](https://chrome.google.com/webstore/detail/reactime/cgibknllccemdnfhfpmjhffpjfeidjga) |
| 169 | +from Chrome Web Store. |
| 170 | + |
| 171 | +After installing Reactime, you can test its functionalities with your React |
| 172 | +application in development mode. |
| 173 | + |
| 174 | +Please note, the time jumping feature will <b>ONLY</b> work when your |
| 175 | +application is running in <b>development mode</b>. In production mode, you are |
| 176 | +able to view your application’s component map but no additional features. |
| 177 | + |
| 178 | +NOTE: The React Developer Tools |
| 179 | +[extension](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en) |
| 180 | +is also required for Reactime to run, if you do not already have it installed on |
| 181 | +your browser. |
| 182 | + |
| 183 | +### Manual Installation |
| 184 | + |
| 185 | +Go to Chrome Extensions (make sure Chrome Extension is in Developer Mode) for |
| 186 | +manual installation in (https://developer.chrome.com/extensions/faq#faq-dev-01) |
| 187 | +and click on Load Unpacked. Use `src/extension/build/` to load this extension. |
| 188 | +Turn on 'Allow access to file URLs' in extension details page if testing |
| 189 | +locally. |
| 190 | + |
| 191 | +### Looking to contribute to Reactime? |
| 192 | + |
| 193 | +<i>Please refer to Developer Install for a detailed guide:</i> |
| 194 | + |
| 195 | +Refer [DEVELOPER README](src/README.md) for more info on the project, and |
| 196 | +instructions on building from source. |
258 | 197 |
|
259 |
| -### <b>Bug Fixes</b> |
| 198 | +### <b>How to Use</b> |
260 | 199 |
|
261 |
| -- Search bar now searches for specific nodes successfully |
262 |
| -- Tab titles of chrome browser tabs not running an application in development |
263 |
| - mode are no longer affected by Reactime |
264 |
| -- Overhauled Asynchronous calls to eliminate memory leaks due to unused async activities in the background. |
265 |
| -- Improved UI and performance |
| 200 | +After installing the Chrome extension, just open up your project in the browser. |
| 201 | + |
| 202 | +Then open up your Chrome DevTools and navigate to the Reactime panel. |
| 203 | + |
| 204 | +## <b>Troubleshooting</b> |
| 205 | + |
| 206 | +### ❓ <b>Why is Reactime telling me that no React application is found?</b> |
| 207 | + |
| 208 | +Reactime initially runs using the dev tools global hook from the Chrome API. It |
| 209 | +takes time for Chrome to load this. Try refreshing your application a couple |
| 210 | +times until you see Reactime running. |
| 211 | + |
| 212 | +### ❓ <b>Why do I need to have React Dev Tools enabled?</b> |
| 213 | + |
| 214 | +Reactime works in tandem with the React Developer Tools to access a React application's Fiber tree; under the hood, Reactime traverses the Fiber tree through the React Developer Tool's global hook, pulling all relevant information needed to display to the developer |
| 215 | + |
| 216 | +### ❓ <b>There is a black screen instead of the Reactime extension</b> |
| 217 | + |
| 218 | +Try refreshing the application you want to test and refresh the DevTools by |
| 219 | +clicking the right mouse button “Reload frame”. |
| 220 | + |
| 221 | +### ❓ <b>I found a bug in Reactime</b> |
| 222 | + |
| 223 | +Reactime is an open source project, and we'd love to hear from you about |
| 224 | +improving the user experience. Please read [DEVELOPER README](src/README.md), |
| 225 | +and create a pull request (or issue) to propose and collaborate on changes to Reactime. |
| 226 | + |
| 227 | +### ❓ <b>Node version compatiability</b> |
| 228 | + |
| 229 | +With release of Node v18.12.1(LTS) on 11/4/22, the script has been updated to |
| 230 | +'npm run dev' | 'npm run build' for backwards compatibility.<br/> For version |
| 231 | +Node v16.16.0, please use script 'npm run devlegacy' | 'npm run buildlegacy' |
266 | 232 |
|
267 | 233 | ## <b>Read More</b>
|
268 | 234 |
|
269 |
| -- [NAME OF 19'S MEDIUM ARTICLE](linkhere) |
270 |
| -- [Reactime 18.0. Better than ever](https://medium.com/@zdf2424/reactime-18-0-better-than-ever-148b81606257) |
271 |
| -- [Reactime v17.0.0: Now with support for the Context API, and a modern UI](https://medium.com/@reactime/reactime-v17-0-0-now-with-support-for-the-context-api-and-a-modern-ui-f0edf9e54dae) |
272 |
| -- [Reactime XVI: Clean-up Time](https://medium.com/@emintahirov1996/reactime-xvi-cleanup-time-a14ba3dcc8a6) |
273 |
| -- [Inter-Route Time Travel with Reactime](https://medium.com/@robbytiptontol/inter-route-time-travel-with-reactime-d84cd55ec73b) |
274 |
| -- [Time-Travel State with Reactime](https://medium.com/better-programming/time-traveling-state-with-reactime-6-0-53fdc3ae2a20) |
275 |
| -- [React Fiber and Reactime](https://medium.com/@aquinojardim/react-fiber-reactime-4-0-f200f02e7fa8) |
276 |
| -- [Meet Reactime - a time-traveling State Debugger for React](https://medium.com/@yujinkay/meet-reactime-a-time-traveling-state-debugger-for-react-24f0fce96802) |
277 |
| -- [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) |
278 |
| -- [Time-Traveling Through React State with Reactime 9.0](https://rxlina.medium.com/time-traveling-through-react-state-with-reactime-9-0-371dbdc99319) |
279 |
| -- [What time is it? Reactime!](https://medium.com/@liuedar/what-time-is-it-reactime-fd7267b9eb89) |
| 235 | +- [It's time for Reactime 19.0!](linkhere) |
280 | 236 |
|
281 | 237 | ## <b>Authors</b>
|
282 | 238 |
|
|
0 commit comments