@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 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: 3100)
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
+ [![npm version](https://img.shields.io/npm/v/@oxog/react-check.svg)](https://www.npmjs.com/package/@oxog/react-check)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
+ [![Node.js Version](https://img.shields.io/node/v/@oxog/react-check.svg)](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: 3100)
127
+ --webui-port <port> WebUI dashboard port (default: 3199)
122
128
  ```
123
129
 
124
130
  ### `report <input>`