Update dependency @welldone-software/why-did-you-render to v10 #241
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^7.0.0
->^10.0.0
Release Notes
welldone-software/why-did-you-render (@welldone-software/why-did-you-render)
v10.0.1
Compare Source
notifier
was not exposingownerDataMap
despite the documentation saying it should.v10.0.0
: Why Did You Render v10 Supporting React 19! 🎉🍾Compare Source
¯\(ツ)/¯ The version was bumped from v8 to v10 directly and 10.0.0 is actually the same as the next 10.0.1. Sorry, I had some
npm
publishing issues ¯\(ツ)/¯Breaking Changes
45fcdcf
,7b6fc5c
,0b3cdd9
,7eed9c5
- Now supports React 19 🎉🍾0613270
- Advanced settings and exposed internals changes:notifier
callback props were renamed fromprevHook
andnextHook
toprevHookResult
andnextHookResult
wdyrStore.hooksPerRender
was renamed towdyrStore.hooksInfoForCurrentRender
New Features
1562bfc
- Improved console colors so the text is now clearly visible in dark mode. This can be adjusted via the settingtextBackgroundColor
.Internal
cdd84dc
,2eb3f93
,6c617d6
- Re-worked how owner render reasons are detected6bd8f0c
- Fixed how the demo app is being ran and usingfast-refresh
instead of the oldhot-reload
0613270
- Made the detection of hooks in a new component much more simple, clear, and accurate8cb3d36
,5e927f2
- Adjusted tests to React 19cd969a0
- Only testing the latest libraries that are compatible withReact 19
.7eed9c5
- Eliminated a warning thatforwardRef
functions accept exactly two parameters. Added a demo page forforwardRef
.db2914c
- Updated eslint to version 93fb801c
- Removed all dev packages that were not usedfcc8a8f
,1f524c0
- Updated the rest of the dev packages, and adjusted the code accordinglyv8.0.3
: Minor updateCompare Source
v8.0.1
Compare Source
Breaking changes
React 18
since it differs quite a lot from previous versions when monkey patching. by @vzaidmanReact.isWDYR
toReact.__IS_WDYR__
by @vzaidmanNon-breaking changes
useSyncExternalStore
by @iamakulov in #283yarn audit
vulnerabilities by @vzaidmanDocs updates
New Contributors
v8.0.0
Compare Source
oops! please use v8.0.1 and above :)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.