Skip to content

Commit b4a36e7

Browse files
committed
note in readme
1 parent 8e33001 commit b4a36e7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ const ExpensiveComponent = withScan(
5151
(props) => {
5252
// ...
5353
},
54-
{
55-
log: true,
56-
},
54+
{ log: true },
5755
);
5856
```
5957

@@ -112,8 +110,8 @@ We expect all contributors to abide by the terms of our [Code of Conduct](https:
112110

113111
React Scan takes inspiration from the following projects:
114112

113+
- [React Devtools](https://react.dev/learn/react-developer-tools) for the initial idea of [highlighting renders](https://medium.com/dev-proto/highlight-react-components-updates-1b2832f2ce48). We chose to diverge from this to provide a [better developer experience](https://x.com/aidenybai/status/1857122670929969551)
115114
- [Million Lint](https://million.dev) for scanning and linting approaches
116-
- [React Devtools](https://react.dev/learn/react-developer-tools) for the initial idea of [highlighting renders](https://medium.com/dev-proto/highlight-react-components-updates-1b2832f2ce48)
117115
- [Why Did You Render?](https://github.com/welldone-software/why-did-you-render) for the concept of hijacking internals to detect unnecessary renders caused by "unstable" props
118116

119117
## License

0 commit comments

Comments
 (0)