adyen-web
adyen-web copied to clipboard
Bump preact from 10.7.1 to 10.11.0
Bumps preact from 10.7.1 to 10.11.0.
Release notes
Sourced from preact's releases.
10.11.0
New Hook: useId
Today we are announcing a new hook:
useId
. This hook creates stable unique identifiers that are consistent between server-side rendering (using preact-render-to-string) and client-side hydration. TheuseId()
hook is primarily useful for generating identifiers for attributes likearia-labelledby
and<label for="...">
.To enable
useId()
to generate consistent unique identifiers, please ensure you are using preact-render-to-string version 5.2.4 or newer for server-side rendering.(#3583, thanks
@JoviDeCroock
)Fixes
- Fix memory leak by cleaning up
_parent
,_dom
and__hooks
after unmount (#3709, thanks@JoviDeCroock
)- Fix case where the
ref
property could be omitted from reused VNodes (#3696, thanks@JoviDeCroock
)- Pass
errorInfo
touseErrorBoundary
callback (#3689, thanks@marvinhagemeister
)- Fix typescript definition for
class | className
(#3711, thanks@PodaruDragos
)Maintenance
- Fix the mac arm build (#3697, thanks
@gengjiawen
)- Fix published JS formats after #3697 (#3702, thanks
@rschristian
)- Add todo benchmark and add a proxy package that uses preact/hooks (#3708, thanks
@JoviDeCroock
)- Add deprecation notice to
render()
'sreplaceNode
argument (#3700, thanks@rschristian
)- Improve types for bare
createElement()
andh()
calls (#3690, thanks@JoviDeCroock
)- Add test for useId (#3716, thanks
@JoviDeCroock
)10.10.6
types
- allow for null return from fc (#3683, thanks
@JoviDeCroock
)10.10.5
fixes
- undo jsx-element removal (#3680, thanks
@JoviDeCroock
)10.10.4
Fixes
- allow function component with children (#3676, thanks
@JoviDeCroock
)- ensure we iterate over all hooks (#3675, thanks
@JoviDeCroock
)10.10.3
Fixes
- fix hooks calling shouldComponentUpdate without context (#3671, thanks
@developit
)- fix case where we set SCU multiple times (#3670, thanks
@JoviDeCroock
)- fix sync-external-store with zustand (#3663, thanks
@JoviDeCroock
)10.10.2
... (truncated)
Commits
77b79c0
10.11.0 (#3719)41574c8
add test for useId (#3716)7469051
Cleanup _parent, _dom and __hooks after unmount (#3709)a5258a9
fix typescript definition for class | className (#3711)803dbb5
Preact X useId (#3583)1427d58
Merge pull request #3708 from preactjs/todo-benchmarkb749474
add v8 back87013a6
different results94eed5c
rename966d6e8
add newline so benches run- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
@dependabot rebase
@dependabot rebase
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Superseded by #1785.