New
v8.0.1
Breaking changes
- Now only support
React 18since it differs quite a lot from previous versions when monkey patching. by @vzaidman- For older versions use @^7
- Renamed the internal property that checks if React is monkey patched from
React.isWDYRtoReact.__IS_WDYR__by @vzaidman
Non-breaking changes
- Add support for
useSyncExternalStoreby @iamakulov in https://github.com/welldone-software/why-did-you-render/pull/283 - Updated all packages to latest versions and adjusted tests, builds and dev server
- no more
yarn auditvulnerabilities by @vzaidman
- no more
Docs updates
- Smaller logo in README.md by @alex-page in https://github.com/welldone-software/why-did-you-render/pull/248
- Add an example for using named imports with trackExtraHooks by @xepozz in https://github.com/welldone-software/why-did-you-render/pull/245
- fix simple typos by @lpmi-13 in https://github.com/welldone-software/why-did-you-render/pull/282
- Fix sentence by @busybox11 in https://github.com/welldone-software/why-did-you-render/pull/275