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: README.md
-18Lines changed: 0 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -175,7 +175,6 @@ export interface Options {
175
175
176
176
-`scan(options: Options)`: Imperative API to start scanning
177
177
-`useScan(options: Options)`: Hook API to start scanning
178
-
-`getReport()`: Get a report of all the renders
179
178
-`setOptions(options: Options): void`: Set options at runtime
180
179
-`getOptions()`: Get the current options
181
180
-`onRender(Component, onRender: (fiber: Fiber, render: Render) => void)`: Hook into a specific component's renders
@@ -198,23 +197,6 @@ React Scan helps you identify these issues by automatically detecting and highli
198
197
199
198
> Want monitor issues in production? Check out [React Scan Monitoring](https://react-scan.com/monitoring)!
200
199
201
-
### FAQ
202
-
203
-
**Q: Why this instead of React Devtools?**
204
-
205
-
React Devtools aims to be a general purpose tool for React. However, I deal with React performance issues every day, and React Devtools doesn't fix my problems well. There's a lot of noise (no obvious distinction between unnecessary and necessary renders), and there's no programmatic API. If it sounds like you have the same problems, then React Scan may be a better choice.
206
-
207
-
Also, some personal complaints about React Devtools' highlight feature:
208
-
209
-
- React Devtools "batches" paints, so if a component renders too fast, it will lag behind and only show 1 every second or so
210
-
- When you scroll/resize the boxes don't update position
211
-
- No count of how many renders there are
212
-
- I don't know what the bad/slow renders are without inspecting
213
-
- The menu is hidden away so it's annoying to turn on/off, user experience should be specifically tuned for debugging performance, instead of hidden behind a profiler/component tree
214
-
- No programmatic API
215
-
- It's stuck in a chrome extension, I want to run it anywhere on the web
216
-
- It looks subjectively ugly (lines look fuzzy, feels sluggish)
0 commit comments