Skip to content

Commit 5574773

Browse files
authored
Update README.md
1 parent 3071e83 commit 5574773

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

README.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ export interface Options {
175175

176176
- `scan(options: Options)`: Imperative API to start scanning
177177
- `useScan(options: Options)`: Hook API to start scanning
178-
- `getReport()`: Get a report of all the renders
179178
- `setOptions(options: Options): void`: Set options at runtime
180179
- `getOptions()`: Get the current options
181180
- `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
198197

199198
> Want monitor issues in production? Check out [React Scan Monitoring](https://react-scan.com/monitoring)!
200199
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)
217-
- I'm more ambitious with react-scan
218200

219201
## Resources & Contributing Back
220202

0 commit comments

Comments
 (0)