Skip to content

Commit aaac532

Browse files
committed
docs: Update FAQ in README.md
1 parent 19c5cd9 commit aaac532

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,30 @@ React Scan helps you identify these issues by automatically detecting and highli
166166

167167
> Want to automatically fix these issues? Check out [Million Lint](https://million.dev)!
168168
169+
### FAQ
170+
171+
**Q: Why this instead of React Devtools?**
172+
173+
React Devtools aims to be a general purpose tool for React. That's great and I think it can be useful. However, I deal with React performance issues every day, and React Devtools just doesn't fix my problems well. So, I built React Scan specifically to find performance issues. If this sounds like you, then React Scan may be a better choice. Also, some general issues about React Devtools' highlight feature:
174+
175+
- React Devtools "batches" paints, so if a component renders too fast, it will lag behind and only show 1 every second or so
176+
- When you scroll/resize the boxes don't update position
177+
- No count of how many renders there are
178+
- I don't know what the bad/slow renders are without inspecting
179+
- 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
180+
- No programmatic API
181+
- It's stuck in a chrome extension, I want to run it anywhere on the web
182+
- It looks subjectively ugly (lines look fuzzy, feels sluggish)
183+
- I'm more ambitious with react-scan (see our roadmap)
184+
185+
**Q: React Native wen?**
186+
187+
Soon :)
188+
189+
**Q: Chrome Extension wen?**
190+
191+
Soon :)
192+
169193
## Resources & Contributing Back
170194

171195
Want to try it out? Check the [our demo](https://react-scan.million.dev).

0 commit comments

Comments
 (0)