Skip to content

Commit df6d420

Browse files
authored
Merge pull request #13 from lind-tania/reactime7
readme user and dev updates
2 parents 43ca9c8 + 744183a commit df6d420

File tree

4 files changed

+76
-31
lines changed

4 files changed

+76
-31
lines changed

README.fr.md

Lines changed: 50 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,66 @@
1-
<p align="center">
2-
<img src ="./assets/readme-logo-300-no-version.png" width="300"/>
3-
</p>
41
<h1 align="center">
2+
<br>
3+
<img src ="./assets/readme-logo-300-no-version.png" width="300"/>
4+
<br>
5+
<br>
56
React Performance Tool
6-
7-
<br>Nominated for the Productivity Booster award
8-
<br><a href="https://osawards.com/react/">React Open Source Awards 2020</a>
7+
<br>
8+
<a href="https://osawards.com/react/"> Nominated for React Open Source Awards 2020 </a>
9+
<br>
910
</h1>
1011

12+
<h4 align="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>
13+
14+
<br>
15+
<p align="center">
16+
<a href="https://github.com/oslabs-beta/reactime">
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+
</a>
25+
<img src="https://img.shields.io/badge/babel%20preset-airbnb-ff69b4" alt="BabelPresetPrefs">
26+
<img src="https://img.shields.io/badge/linted%20with-eslint-blueviolet" alt="LintPrefs">
27+
</p>
1128

12-
[![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)
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) -->
1330

31+
<h5 align="center">
32+
<br>
33+
<a href="./README.rus.md">🇷🇺 &nbsp; РУССКАЯ ВЕРСИЯ</a> &nbsp;&nbsp; <a href="./README.fr.md">🇫🇷 &nbsp; VERSION FRANÇAISE</a>
34+
<br>
35+
</h5>
36+
<br>
1437

1538
<p align="center">
1639
<img src="./assets/reactime7.gif" />
1740
</p>
1841

19-
<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+
<p align="center">
43+
  <a href="#how-to-use">How To Use</a> • <a href="#features">Features</a> • <a href="https://reactime.io">Website</a> • <a href="#readmore">Read More</a>
44+
</p>
2045

2146
Currently, Reactime supports React apps using stateful components and Hooks, with beta support for Recoil and Context API.
2247

2348
<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.
24-
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.
2550

26-
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.
2752

2853
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+
2955
## <b>Installation</b>
3056

31-
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.
3258

3359
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.
3460

3561
### <b>Alternative Installation</b>
36-
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.
3762

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.
3864

3965
## <b>How to Use</b>
4066

@@ -45,25 +71,30 @@ Then open up your Chrome DevTools and navigate to the Reactime panel.
4571
## <b>Troubleshooting</b>
4672

4773
### <b>Why is Reactime telling me that no React application is found?</b>
74+
4875
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.
4976

50-
### <b>There is a black screen instead of the Reactime extension</b>
51-
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”.
5280

5381
### <b>I found a bug in Reactime</b>
82+
5483
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.
5584

5685
## <b>Features</b>
5786

5887
### Re-render Optimization
59-
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+
6091
### Recording
6192

6293
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.
6394

6495
### Viewing
6596

66-
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.
6798

6899
### Jumping
69100

@@ -79,7 +110,7 @@ After cloning this repository, developers can simply run `npm run docs` at the r
79110

80111
### <b>Additional Features</b>
81112

82-
- identifying unnecessary re-renders
113+
- identifying unnecessary re-renders
83114
- hover functionality to view tooltip details on state visualizations
84115
- ability to pan and zoom on state visualizations
85116
- a dropdown to support development of projects on multiple tabs
@@ -91,12 +122,14 @@ After cloning this repository, developers can simply run `npm run docs` at the r
91122
- declarative titles in the actions sidebar
92123

93124
## <b>Read More</b>
125+
94126
- [Time-Travel State with Reactime](https://medium.com/better-programming/time-traveling-state-with-reactime-6-0-53fdc3ae2a20)
95127
- [React Fiber and Reactime](https://medium.com/@aquinojardim/react-fiber-reactime-4-0-f200f02e7fa8)
96128
- [Meet Reactime - a time-traveling State Debugger for React](https://medium.com/@yujinkay/meet-reactime-a-time-traveling-state-debugger-for-react-24f0fce96802)
97129
- [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)
98130

99131
## <b>Authors</b>
132+
100133
- **Becca Viner** - [@rtviner](https://github.com/rtviner)
101134
- **Caitlin Chan** - [@caitlinchan23](https://github.com/caitlinchan23)
102135
- **Kim Mai Nguyen** - [@Nkmai](https://github.com/Nkmai)
@@ -135,4 +168,3 @@ After cloning this repository, developers can simply run `npm run docs` at the r
135168
## <b>License </b>
136169

137170
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details
138-

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
<h5 align="center">
3232
<br>
33-
<a href="./README.rus.md">РУССКАЯ ВЕРСИЯ</a> &nbsp;&nbsp; <a href="./README.fr.md">VERSION FRANÇAISE</a>
33+
<a href="./README.rus.md">🇷🇺 &nbsp; РУССКАЯ ВЕРСИЯ</a> &nbsp;&nbsp; <a href="./README.fr.md">🇫🇷 &nbsp; VERSION FRANÇAISE</a>
3434
<br>
3535
</h5>
3636
<br>
@@ -40,7 +40,7 @@
4040
</p>
4141

4242
<p align="center">
43-
  <a href="#how-to-use">How To Use</a> • <a href="#features">Features</a> • <a href="https://reactime.io">Website</a> • <a href="#readmore">Read More</a>
43+
  <a href="#how-to-use">How To Use</a> • <a href="#features">Features</a> • <a href="https://reactime.io">Website</a> • <a href="#read-more">Read More</a>
4444
</p>
4545

4646
Currently, Reactime supports React apps using stateful components and Hooks, with beta support for Recoil and Context API.
@@ -110,16 +110,16 @@ After cloning this repository, developers can simply run `npm run docs` at the r
110110

111111
### <b>Additional Features</b>
112112

113-
- identifying unnecessary re-renders
114-
- hover functionality to view tooltip details on state visualizations
115-
- ability to pan and zoom on state visualizations
116-
- a dropdown to support development of projects on multiple tabs
117-
- a slider to move through snapshots quickly
118-
- a play button to move through snapshots automatically
119-
- a lock button, which stops recording each snapshot
120-
- a persist button to keep snapshots upon refresh (handy when changing code and debugging)
121-
- download/upload the current snapshots in memory
122-
- declarative titles in the actions sidebar
113+
* identifying unnecessary re-renders
114+
* hover functionality to view tooltip details on state visualizations
115+
* ability to pan and zoom on state visualizations
116+
* a dropdown to support development of projects on multiple tabs
117+
* a slider to move through snapshots quickly
118+
* a play button to move through snapshots automatically
119+
* a lock button, which stops recording each snapshot
120+
* a persist button to keep snapshots upon refresh (handy when changing code and debugging)
121+
* download/upload the current snapshots in memory
122+
* declarative titles in the actions sidebar
123123

124124
## <b>Read More</b>
125125

README.rus.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@
1212
[![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)
1313

1414

15+
<h5 align="center">
16+
<br>
17+
<a href="./README.md">🇷🇺 &nbsp; ENGLISH VERSION </a> &nbsp;&nbsp; <a href="./README.fr.md">🇫🇷 &nbsp; VERSION FRANÇAISE</a>
18+
<br>
19+
</h5>
20+
<br>
21+
1522
<p align="center">
1623
<img src="./assets/reactime7.gif" />
1724
</p>

src/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ src/
6060
- Like regular web apps, Chrome Extensions are event-based. The background script is where one typically monitors for browser triggers (e.g. events like closing a tab, for example). The content script is what allows us to read or write to our target web application, usually as a result of [messages passed](https://developer.chrome.com/extensions/messaging) from the background script.
6161
- These two files help us handle requests both from the web browser and from the Reactime extension itself
6262

63+
64+
## Diagramming
65+
All the diagrams of data flows are avaliable on [MIRO](https://miro.com/app/board/o9J_lejUqLQ=/)
6366
## Data Flow Architecture
6467

6568
The general flow of data is described in the following steps:
@@ -81,18 +84,21 @@ Navigation between different console.log panels can be confusing when running Re
8184
Console.logs from the Extension folder you can find here:
8285
- Chrome Extension (Developer mode)
8386
- Background page
84-
![extension](../assets/extension-console.gif)
87+
88+
![extension](../assets/extension-console.gif)
8589

8690
### <b> /src/app </b>
8791
Console.logs from the App folder you can find here:
8892
- Chrome Browser
8993
- Inspect
94+
9095
![frontend](../assets/console-log.gif)
9196

9297
### <b> /src/backend </b>
9398
Console.logs from the App folder you can find here:
9499
- Open the Reactime extension in Chrome
95100
- Click "Inspect" on Reactime
101+
96102
![backend](../assets/reactime-console.gif)
97103

98104
## Chrome Developer Resources

0 commit comments

Comments
 (0)