-
Notifications
You must be signed in to change notification settings - Fork 0
fix: update dependency @preact/signals to v2 #102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
8a43674 to
5be0bff
Compare
5be0bff to
eb55080
Compare
eb55080 to
78eb1d8
Compare
78eb1d8 to
eded1b5
Compare
eded1b5 to
77f83ad
Compare
77f83ad to
4a66945
Compare
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.
This PR contains the following updates:
^1.2.3->^2.3.1Release Notes
preactjs/signals (@preact/signals)
v2.3.1Patch Changes
b178480Thanks @rschristian! - Correct semver range to support beta releases of Preact v11v2.3.0Minor Changes
#727
8fe8decThanks @JoviDeCroock! - Call into component tracking of the chrome extension#681
6cc7005Thanks @JoviDeCroock! - Allow for naming your singals/computeds/effectsPatch Changes
#728
0fd9503Thanks @marvinhagemeister! - Fix prefresh HMR not working withuseSignal.#729
b45c2b6Thanks @rschristian! - Expand semver range to support the upcoming v11 beta releaseUpdated dependencies [
6cc7005]:v2.2.1Compare Source
Patch Changes
#701
01f406cThanks @calebeby! - Narrow types for Show utility, the callback is truthy by designUpdated dependencies [
4045d2d]:v2.2.0Compare Source
Minor Changes
62bed44Thanks @JoviDeCroock! - Add an option to specify a watched/unwatched callback to a signalPatch Changes
587e702,62bed44]:v2.1.1Compare Source
Patch Changes
a34eab2Thanks @JoviDeCroock! - Ensure we build the thingv2.1.0Compare Source
Minor Changes
4b585a5Thanks @JoviDeCroock! - Provide@preact/signals/utilspackage with some helpers to make working with signals easier in Preactv2.0.5Compare Source
Patch Changes
#677
b990e7eThanks @JoviDeCroock! - We reduce the raf timeout to be just above a timeout that is associated with a 30hz refresh rate. This ensures that for hidden frames the timeout drift can't be too large, the drift being too high could lead to unexpected situations.#679
f51eef4Thanks @WeirdConstructor! - Fix accessing signals from Preact Class Component constructor.v2.0.4Compare Source
Patch Changes
36fcb2eThanks @JoviDeCroock! - Correctly set peerDep of signalsv2.0.3Compare Source
Patch Changes
f72e769Thanks @JoviDeCroock! - Fix array signals when used as jsxv2.0.2Compare Source
Patch Changes
#655
6a0284cThanks @JoviDeCroock! - Avoid usage of.baseand check the_domon the vnode instead#660
df4df76Thanks @JoviDeCroock! - Bail out of the animation frame with a setTimeout in case the origin page is hiddenv2.0.1Compare Source
Patch Changes
#647
655905bThanks @jviide! - Ensure that text effects get disposed#630
4b9144fThanks @JoviDeCroock! - Change the way we deal with state settling hooks, when we know we are dealing with hooks that can settle their A -> B -> A state (and wind up at the same value). We should not verbatim rerender in our custom shouldComponentUpdate. Instead we should trust that hooks have handled their own state settling.v2.0.0Compare Source
Major Changes
#604
fea3e8dThanks @JoviDeCroock! - Defer all DOM updates by an animation frame, this should make it sothat any previously synchronous DOM update will be instead delayed by an
animation frame. This allows Preact to first perform its own render
cycle and then our direct DOM updates to occur. These will now
be performed in a batched way which is more performant as the browser
is prepared to handle these during the animation frame.
This does impact how Preact based signals are tested, when
you perform a signal update, you'll need to wrap it in
act. In a waythis was always the case, as a signal update that resulted in
a Preact state update would require it to be wrapped in
act, butnow this is the norm.
Minor Changes
499428aThanks @JoviDeCroock! - Align signal effects with animation-frames for better performancePatch Changes
8e6e2deThanks @JoviDeCroock! - Change timing to a double microtask so we are behind the Preact render queue but can't delay as much as a user-input coming in.v1.3.2Compare Source
Patch Changes
e932cfcThanks @JoviDeCroock! - Change the way we deal with state settling hooks, when we know we are dealing with hooks that can settle their A -> B -> A state (and wind up at the same value). We should not verbatim rerender in our custom shouldComponentUpdate. Instead we should trust that hooks have handled their own state settling.v1.3.1Compare Source
Patch Changes
#620
4cda002Thanks @developit! - Simplify text update patch to avoid using new internals#618
021c726Thanks @JoviDeCroock! - Ensure that the Effects versions are updated when using it as a JSX Signalv1.3.0Compare Source
Minor Changes
931404eThanks @JoviDeCroock! - Allow for passing no argument to the signal and the type to be automatically inferred asT | undefinedPatch Changes
931404e]:Configuration
📅 Schedule: Branch creation - "after 10am on monday,before 5pm on monday" in timezone Asia/Tokyo, 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.