react-performance-advisor 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/readme.md +9 -8
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -6,17 +6,18 @@ React Performance Advisor acts as an "X-ray machine" for your React applications
|
|
|
6
6
|
|
|
7
7
|
## ✨ Features
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
* 🧠 AI-Powered Diagnosis:** Automatically streams context (render counts, lag time, changed props) to Gemini AI to generate exact `useMemo`, `useCallback`, or `React.memo` code fixes.
|
|
10
|
+
* ⏱️ Millisecond Lag Tracking:** Utilizes React's native `<Profiler>` to catch components taking >16ms to render, identifying main-thread blocking.
|
|
11
|
+
* 🔍 Deep Prop Tracking:** Performs strict equality checks to catch "Object/Function Reference Traps" causing silent cascading re-renders.
|
|
12
|
+
* 📦 Smart Aggregation:** Groups identical bugs across massive lists/grids into a single, clean UI warning to prevent log spam.
|
|
13
|
+
* 🔒 Secure & Local:** Your Gemini API key is stored securely in your browser's Local Storage. It never touches your source code.
|
|
14
14
|
|
|
15
15
|
## 📦 Installation
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
bash
|
|
18
|
+
|
|
19
|
+
npm install react-performance-advisor
|
|
20
|
+
|
|
20
21
|
|
|
21
22
|
## 🛠️ Quick Start
|
|
22
23
|
|