@oxog/react-check 1.1.5 → 1.2.0
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/CHANGELOG.md +29 -1
- package/README.md +9 -3
- package/dist/browser-inject.global.js +705 -158
- package/dist/chain.d.cts +1 -1
- package/dist/chain.d.ts +1 -1
- package/dist/cli.js +510 -32
- package/dist/cli.js.map +1 -1
- package/dist/detect.d.cts +1 -1
- package/dist/detect.d.ts +1 -1
- package/dist/fix.d.cts +1 -1
- package/dist/fix.d.ts +1 -1
- package/dist/index.cjs +1124 -303
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +94 -43
- package/dist/index.d.ts +94 -43
- package/dist/index.js +1124 -303
- package/dist/index.js.map +1 -1
- package/dist/{scanner-CTBraprQ.d.ts → scanner-Cc2187fH.d.ts} +1 -1
- package/dist/{scanner-5j2LEM-q.d.cts → scanner-S7BtVIpW.d.cts} +1 -1
- package/dist/scanner.d.cts +2 -2
- package/dist/scanner.d.ts +2 -2
- package/dist/{types-xAXT9cir.d.cts → types-DuZyBVVV.d.cts} +1 -1
- package/dist/{types-xAXT9cir.d.ts → types-DuZyBVVV.d.ts} +1 -1
- package/package.json +7 -5
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,34 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.2.0] - 2025-12-31
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- WebUI mode now automatically shows visible browser window for user interaction
|
|
13
|
+
- Improved headless mode prompt with clearer default (No = visible browser)
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- WebUI mode skips headless browser question (always shows browser for interaction)
|
|
18
|
+
- Default headless answer changed from Yes to No for better user experience
|
|
19
|
+
- Updated homepage URL to reactcheck.oxog.dev
|
|
20
|
+
- Reorganized documentation files into /docs folder
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- Fixed browser window not appearing in WebUI mode due to default headless=true
|
|
25
|
+
- Memory leak from excessive WebSocket broadcasts (throttled to 500ms intervals)
|
|
26
|
+
- Render event flooding (limited to max 10 broadcasts per second)
|
|
27
|
+
- Overlay initialization infinite loop (added max 10 retries)
|
|
28
|
+
|
|
29
|
+
## [1.1.6] - 2025-12-31
|
|
30
|
+
|
|
31
|
+
### Fixed
|
|
32
|
+
|
|
33
|
+
- Improved React DevTools hook integration for better render detection
|
|
34
|
+
- Fixed overlay initialization timing issues
|
|
35
|
+
|
|
8
36
|
## [1.1.5] - 2025-12-31
|
|
9
37
|
|
|
10
38
|
### Fixed
|
|
@@ -57,7 +85,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
57
85
|
- WebSocket-based live updates
|
|
58
86
|
- Auto-opens in default browser
|
|
59
87
|
- `--webui` flag to enable dashboard
|
|
60
|
-
- `--webui-port` option for custom port (default:
|
|
88
|
+
- `--webui-port` option for custom port (default: 3099)
|
|
61
89
|
|
|
62
90
|
- **Browser Overlay Enhancements**: Visual feedback for component renders
|
|
63
91
|
- Flash effect with colored background on each render
|
package/README.md
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
# ReactCheck
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@oxog/react-check)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
5
|
+
[](https://nodejs.org)
|
|
6
|
+
|
|
3
7
|
A zero-dependency React performance scanner that detects unnecessary re-renders, analyzes render chains, and provides actionable fix suggestions.
|
|
4
8
|
|
|
9
|
+
**[Documentation](https://reactcheck.oxog.dev)** | **[npm](https://www.npmjs.com/package/@oxog/react-check)** | **[GitHub](https://github.com/ersinkoc/react-check)**
|
|
10
|
+
|
|
5
11
|
## Features
|
|
6
12
|
|
|
7
13
|
- **Real-time Render Detection**: Monitor React component renders in real-time via React DevTools hook
|
|
@@ -10,8 +16,8 @@ A zero-dependency React performance scanner that detects unnecessary re-renders,
|
|
|
10
16
|
- **Multiple Report Formats**: Export reports as HTML, JSON, or Markdown
|
|
11
17
|
- **Framework Detection**: Automatic detection and framework-specific tips for Next.js, Remix, Vite, CRA, Gatsby
|
|
12
18
|
- **Interactive TUI**: Terminal-based UI for real-time monitoring
|
|
13
|
-
- **WebUI Dashboard**: Real-time web dashboard with live updates
|
|
14
|
-
- **Browser Overlay**: Visual overlay showing component render statistics
|
|
19
|
+
- **WebUI Dashboard**: Real-time web dashboard with live updates at localhost:3199
|
|
20
|
+
- **Browser Overlay**: Visual overlay showing component render statistics with severity colors
|
|
15
21
|
- **Zero Dependencies**: Core functionality has no external dependencies
|
|
16
22
|
|
|
17
23
|
## Installation
|
|
@@ -118,7 +124,7 @@ Options:
|
|
|
118
124
|
--exclude <patterns> Component patterns to exclude
|
|
119
125
|
--no-tui Disable TUI, use simple output
|
|
120
126
|
-W, --webui Enable WebUI dashboard
|
|
121
|
-
--webui-port <port> WebUI dashboard port (default:
|
|
127
|
+
--webui-port <port> WebUI dashboard port (default: 3199)
|
|
122
128
|
```
|
|
123
129
|
|
|
124
130
|
### `report <input>`
|