Skip to content

Commit 162c7ea

Browse files
committed
updated github readme and dev readme
1 parent bbdfda2 commit 162c7ea

File tree

2 files changed

+114
-141
lines changed

2 files changed

+114
-141
lines changed

README.md

Lines changed: 91 additions & 135 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,11 @@
1515
<p align="center">
1616
<a href="https://github.com/oslabs-beta/reactime">
1717
<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">
2418
</a>
2519
<img src="https://img.shields.io/badge/babel%20preset-airbnb-ff69b4" alt="BabelPresetPrefs">
2620
<img src="https://img.shields.io/badge/linted%20with-eslint-blueviolet" alt="LintPrefs">
2721
</p>
2822

29-
<!-- [![GitHub](https://img.shields.io/github/license/oslabs-beta/reactime)](https://github.com/oslabs-beta/reactime) [![Build Status](https://travis-ci.com/oslabs-beta/reactime.svg?branch=master)](https://travis-ci.com/oslabs-beta/reactime) [![npm version](https://badge.fury.io/js/reactime.svg)](http://badge.fury.io/js/reactime) ![BabelPresetPrefs](https://img.shields.io/badge/babel%20preset-airbnb-ff69b4) ![LintPrefs](https://img.shields.io/badge/linted%20with-eslint-blueviolet) -->
30-
3123
<h5 align="center">
3224
<br>
3325
<a href="./README.rus.md">🇷🇺 &nbsp; РУССКАЯ ВЕРСИЯ</a> &nbsp;&nbsp; <a href="./README.fr.md">🇫🇷 &nbsp; VERSION FRANÇAISE</a> &nbsp;&nbsp; <a href='./src/README.md'>DEVELOPER README</a>
@@ -40,108 +32,10 @@
4032
</p>
4133

4234
<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>
4436
</p>
4537

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>
14539

14640
### 🔹 Viewing
14741

@@ -174,7 +68,7 @@ name.
17468
### 🔹 Components Comparison
17569

17670
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
17872
Performance tab where the snapshots are rendered. You will also find details of
17973
each component upon hovering.
18074
<br>
@@ -243,40 +137,102 @@ of the structure and interfaces of the codebase.
243137

244138
### <b>Additional Features</b>
245139

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
248142
- 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
251144
- 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
254146
- 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.
258197

259-
### <b>Bug Fixes</b>
198+
### <b>How to Use</b>
260199

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'
266232

267233
## <b>Read More</b>
268234

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)
280236

281237
## <b>Authors</b>
282238

src/README.md

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ cd reactime
2121
npm install --force
2222
npm run dev
2323
```
24+
2425
With release of Node v18.12.1 (LTS) on 11/4/22, the script has been updated to 'npm run dev' || 'npm run build' for backwards compatibility.<br/>
2526
For version Node v16.16.0, please use script 'npm run devlegacy' || 'npm run buildlegacy'
2627

@@ -31,15 +32,16 @@ cd demo-app
3132
npm install
3233
npm run dev
3334
```
35+
3436
Similar approach for Next.js and Remix demo apps
3537

3638
5. Add Reactime to your Chrome extensions.
3739

38-
- Navigate to chrome://extensions
39-
- Select “Load Unpacked”
40-
- Choose reactime > src > extension > build
41-
- Navigate to http://localhost:8080/ to inspect the demo application using Reactime!
42-
<br>
40+
- Navigate to chrome://extensions
41+
- Select “Load Unpacked”
42+
- Choose reactime > src > extension > build
43+
- Navigate to http://localhost:8080/ to inspect the demo application using Reactime!
44+
<br>
4345

4446
<p align="center">
4547
<img src="./assets/reactime-dev-setup.gif" />
@@ -69,7 +71,8 @@ In the _src_ folder, there are three directories we care about: _app_, _backend_
6971
```
7072
src/
7173
├── app/ # Frontend code
72-
│   ├── __tests__/ #
74+
│   ├── __tests__/ # React Testing Library
75+
│   ├── __tests__enzyme/ # Legacy Enzyme tests
7376
│   ├── actions/ # Redux action creators
7477
│   ├── components/ # React components
7578
│   ├── constants/ #
@@ -145,6 +148,7 @@ The general flow of data is described in the following steps:
145148
- One important thing to note here is that this jump action must be dispatched in the target application (i.e. _backend_ land), because only there do we have direct access to the DOM.
146149

147150
## Reacti.me Website:
151+
148152
See [Reacti.me README](https://github.com/reactimetravel/reactime-website/blob/main/README.md) for instruction of how to update the website
149153

150154
## Console.log
@@ -209,3 +213,16 @@ Some relevant sections are reproduced below:
209213
1. The content script
210214
2. The chrome extension "front-end" **(_NOT_ the interface of the browser, this is an important distinction.)**
211215
- In other words, a background script works as a sort of middleman, directly maintaining connection with its parent extension, and acting as a proxy enabling communication between it and the content script.
216+
217+
## Past Medium Articles for Reference
218+
219+
- [Reactime 18.0. Better than ever](https://medium.com/@zdf2424/reactime-18-0-better-than-ever-148b81606257)
220+
- [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)
221+
- [Reactime XVI: Clean-up Time](https://medium.com/@emintahirov1996/reactime-xvi-cleanup-time-a14ba3dcc8a6)
222+
- [Inter-Route Time Travel with Reactime](https://medium.com/@robbytiptontol/inter-route-time-travel-with-reactime-d84cd55ec73b)
223+
- [Time-Travel State with Reactime](https://medium.com/better-programming/time-traveling-state-with-reactime-6-0-53fdc3ae2a20)
224+
- [React Fiber and Reactime](https://medium.com/@aquinojardim/react-fiber-reactime-4-0-f200f02e7fa8)
225+
- [Meet Reactime - a time-traveling State Debugger for React](https://medium.com/@yujinkay/meet-reactime-a-time-traveling-state-debugger-for-react-24f0fce96802)
226+
- [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)
227+
- [Time-Traveling Through React State with Reactime 9.0](https://rxlina.medium.com/time-traveling-through-react-state-with-reactime-9-0-371dbdc99319)
228+
- [What time is it? Reactime!](https://medium.com/@liuedar/what-time-is-it-reactime-fd7267b9eb89)

0 commit comments

Comments
 (0)