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
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ To get an overview of the project, read the [README](README.md). Here are some r
16
16
17
17
## Getting started
18
18
19
-
To navigate our codebase with confidence, see the Developer READMEs [Developer Installation](/DeveloperREADME.md) and [Developer Guidelines](/src/README.md):confetti_ball:.
19
+
To navigate our codebase with confidence, see the [Developer Guidelines](/src/README.md):confetti_ball:.
Copy file name to clipboardExpand all lines: README.fr.md
+6
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,8 @@
45
45
46
46
Actuellement, Reactime est compatible avec les applications React qui utilisent des composants à état (stateful) et Hooks, avec un support en version bêta de Recoil et de pour le Context API.
47
47
48
+
<b>Reactime 18.0</b> introduit une gamme de fonctionnalités nouvelles et améliorées visant à optimiser les performances et à améliorer la compatibilité. Avec le support de Next.js et de Remix, une couverture de test accrue (93% backend, le frontend a encore besoin de plus de tests), ainsi que des améliorations structurelles de la base de code. De plus, nous sommes fiers d'annoncer le lancement de notre site web récemment redessiné, qui sert de centre pour les dernières mises à jour et informations sur Reactime. Pour aider à la débogage, nous avons inclus des applications de démonstration pour Next.js et Remix, permettant aux futurs itérateurs de tester et dépanner avec plus de facilité et d'efficacité.
49
+
48
50
<b>Reactime version 7.0</b> beta peut vous aider à éviter les ré-rendus inutiles. Identifier les rendus inutiles dans vos applications React est le point de départ idéal pour identifier la plupart des problèmes de performances.
49
51
La version beta 7.0 de Reactime corrige les bugs des anciennes versions et intègre des visualisations améliorées pour les relations entre les composants.
50
52
Reactime 7.0 inclut également une documentation [typedoc](https://typedoc.org/api/) plus approfondie pour les développeurs souhaitant contribuer au code source.
@@ -196,6 +198,10 @@ Après avoir cloné ce référentiel, les développeurs peuvent simplement exéc
<ahref="./README.rus.md">🇷🇺 РУССКАЯ ВЕРСИЯ</a> • <ahref="./README.fr.md">🇫🇷 VERSION FRANÇAISE</a> • <ahref='./src/README.md'>DEVELOPER README</a>
34
34
<br>
35
35
</h5>
36
36
<br>
@@ -40,9 +40,15 @@
40
40
</p>
41
41
42
42
<palign="center">
43
-
<ahref="#how-to-use">How To Use</a> • <ahref="#features">Features</a> • <ahref="https://reactime.dev">Website</a> • <ahref="#read-more">Read More</a>
43
+
<ahref="#how-to-use">How To Use</a> • <ahref="#features">Features</a> • <ahref="https://www.reacti.me/">Website</a> • <ahref="#read-more">Read More</a>
44
44
</p>
45
45
46
+
<b>Reactime 18.0</b> introduces a range of new and improved features aimed at optimizing performance and enhancing compatibility.
47
+
With support for Next.js and Remix, increased testing coverage(93% backend, frontend needs more), and structural improvements to the codebase.
48
+
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.
49
+
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.
50
+
51
+
46
52
<b>Reactime 17.0</b>
47
53
We are pleased to announce the release of Reactime 17.0,
48
54
which includes several new and improved features. Context API support has now been added.
@@ -128,10 +134,8 @@ locally.
128
134
### Looking to contribute to Reactime?
129
135
130
136
<i>Please refer to Developer Install for a detailed guide:</i>
[the developer README](src/README.md) for more info on the project, and
138
+
Refer [DEVELOPER README](src/README.md) for more info on the project, and
135
139
instructions on building from source.
136
140
137
141
## <b>How to Use</b>
@@ -156,7 +160,7 @@ clicking the right mouse button “Reload frame”.
156
160
### ❓ <b>I found a bug in Reactime</b>
157
161
158
162
Reactime is an open source project, and we’d really appreciate your help with
159
-
improving user experience. Please read [the developer README](src/README.md),
163
+
improving user experience. Please read [DEVELOPER README](src/README.md),
160
164
and create a pull request (or issue) to propose and collaborate on changes to a
161
165
repository.
162
166
@@ -247,6 +251,12 @@ Reactime offers debugging and performance tools for Next.js apps: time-traveling
247
251
debugging, preventing unnecessary components re-renders and making your
248
252
application faster.
249
253
254
+
### 🔹 Remix
255
+
256
+
Reactime offers debugging and performance tools for Remix apps (in beta). Support still
257
+
needs to be added for multi-route time traveling. Every other feature works.
258
+
259
+
250
260
### 🔹 TypeScript Support
251
261
252
262
Reactime offers support for TypeScript applications using stateful class
@@ -278,24 +288,19 @@ of the structure and interfaces of the codebase.
278
288
- Declarative titles in the actions sidebar
279
289
- Interative Tutorial Walkthrough
280
290
- Toggle feature allowing temporary pause of state monitoring
281
-
- Updated frontend diagram:
282
291
283
-
<palign="center">
284
-
<imgsrc="./assets/frontend-diagram.png" />
285
292
286
293
### <b>Bug Fixes</b>
287
-
288
294
- Search bar now searches for specific nodes successfully
289
295
- Tab titles of chrome browser tabs not running an application in development
290
296
mode are no longer affected by Reactime
291
-
-Multiple black screens fixed
297
+
-Overhauled Asynchronous calls to eliminate memory leaks due to unused async activities in the background.
292
298
- Improved UI and performance
293
-
- No longer inject scripts to non-target applications
294
299
295
300
## <b>Read More</b>
301
+
-[Reactime 18.0. Better than ever](https://medium.com/@zdf2424/reactime-18-0-better-than-ever-148b81606257)
296
302
-[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)
Copy file name to clipboardExpand all lines: README.rus.md
+9
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,11 @@
22
22
<imgsrc="./assets/new-reactime.gif" />
23
23
</p>
24
24
25
+
<b>Reactime 18.0</b> вводит ряд новых и улучшенных функций, направленных на оптимизацию производительности и улучшение совместимости.
26
+
С поддержкой Next.js и Remix, увеличенной покрытия тестов (93% на бэкенде, необходимо больше на фронтенде) и структурных улучшений в кодовой базе.
27
+
Кроме того, мы гордимся анонсом запуска нашего вновь переработанного веб-сайта, который служит центром для последних обновлений и информации о Reactime.
28
+
Для помощи в отладке мы включили демонстрационные приложения для Next.js и Remix, что позволяет будущим итераторам тестировать и устранять ошибки с большей легкостью и эффективностью.
29
+
25
30
<b>Reactime</b> - расширение для дебаггинга/отладки React приложений. Оно создает снэпшоты при каждом изменении состояния (state) и позволяет пользованию прыгать на любое предыдущее состояние (state).
26
31
В настоящее время Reactime поддерживает React приложения с классовыми, функциональными компонентами, хуками и Context API.
27
32
@@ -171,6 +176,10 @@ Reactime beta поддерживает приложения, написанны
Copy file name to clipboardExpand all lines: src/README.md
+51-7
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,48 @@ Our mission at Reactime is to maintain and iterate constantly, but never at the
6
6
7
7
## Building from source
8
8
9
-
1. If you have already installed Reactime from the Chrome Web Store, disable or uninstall it.
10
-
2. Run `yarn` to install all dependencies.
11
-
3. Run `yarn dev`. This will start a `webpack` process which watches for file changes and whenever it sees some, automatically rebuilds the webpack bundles used by the extension.
9
+
1.[Download]("https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en") React Dev Tools from the Chrome Webstore Here
10
+
11
+
2. Clone down the Reactime repo onto your machine.
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/>
25
+
For version Node v16.16.0, please use script 'npm run devlegacy' || 'npm run buildlegacy'
26
+
27
+
4. Spin up the demo application.
28
+
29
+
```
30
+
cd demo-app
31
+
npm install
32
+
npm run dev
33
+
```
34
+
Similar approach for Next.js and Remix demo apps
35
+
36
+
5. Add Reactime to your Chrome extensions.
37
+
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>
43
+
44
+
<palign="center">
45
+
<imgsrc="./assets/reactime-dev-setup.gif" />
46
+
</p>
47
+
48
+
<h2>Documentation for Consideration</h2>
49
+
<h4>Can Reactime be integrated with Redux compatibility so applications using Redux can track state in Reactime?</h4>
50
+
Yes, but it would be very time-consuming and not the most feasible option while Redux devtools exists already. With how Redux devtools is currently set up, a developer is unable to use Redux devtools as a third-party user and integrate its functionality into their own application, as Redux devtools is meant to be used directly on an application using Redux for state-tracking purposes. Since the devtools do not appear to have a public API for integrated use in an application or it simply does not exist, Redux devtools would need to be rebuilt from the ground up and then integrated into Reactime, or built into Reactime directly still from scratch.
12
51
4. Go to `chrome://extensions`
13
52
5. Ensure Developer mode is enabled
14
53
6. Click `Load unpacked`
@@ -48,15 +87,15 @@ src/
48
87
│ ├── createComponentActionsRecord.ts # Update the componentActionsRecord with new bound state-update methods
49
88
│ ├── createTree.ts # Construct a tree snapshot from the FiberRoot tree given by ReactFiber.
50
89
│ ├── statePropExtractor.ts # Helper functions to extract & format prop, state, and context data
51
-
│ ├── throttle.ts #
90
+
│ ├── throttle.ts #
52
91
│ ├── timeJump.ts # Rerenders DOM based on snapshot from background script
53
92
│ ├── models/
54
93
│ ├── filterConditions.ts #
55
94
│ ├── masterState.ts # Component action record interface
56
95
│ ├── routes.ts # Interfaces with the browser history stack
57
96
│ ├── tree.ts # Custom structure to send to background
58
97
│ ├── routers/
59
-
│ ├── linkFiber.ts # Check for all requirement to start Reactime and
98
+
│ ├── linkFiber.ts # Check for all requirement to start Reactime and
60
99
│ ├── snapShot.ts #
61
100
│ ├── types/ # Typescript interfaces
62
101
│ ├── index.ts # Starting point for backend functionality
@@ -80,15 +119,17 @@ src/
80
119
2. The _backend_ folder contains the set of all scripts that we inject into our "target" application via `background.js`
81
120
- In Reactime, its main role is to generate data and handle time-jump requests from the background script in our _extension_ folder.
82
121
83
-

122
+

123
+
124
+

84
125
85
126
3. The _extension_ folder is where the `contentScript.js` and `background.js` are located.
86
127
- 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.
87
128
- These two files help us handle requests both from the web browser and from the Reactime extension itself
88
129
89
130
## Diagramming
90
131
91
-
All the diagrams of data flows are avaliable on [MIRO](https://miro.com/app/board/o9J_lejUqLQ=/)
132
+
All the diagrams of data flows are avaliable on [MIRO](https://miro.com/app/board/uXjVPictrsM=/)
92
133
93
134
## Data Flow Architecture
94
135
@@ -103,6 +144,9 @@ The general flow of data is described in the following steps:
103
144
3. Likewise, when Reactime emits an action due to user interaction -- a "jump" request for example -- a message will be passed from Reactime via the background script to the content script. Then, the content script will pass a message to the target application containing a payload that represents the state the user wants the DOM to reflect or "jump" to.
104
145
- 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.
105
146
147
+
## Reacti.me Website:
148
+
See [Reacti.me README](https://github.com./reactimetravel/reactime-website/blob/main/README.md) for instruction of how to update the website
149
+
106
150
## Console.log
107
151
108
152
Navigation between different console.log panels can be confusing when running Reactime. We created a short instruction where you can find the results for your console.log
0 commit comments