Skip to content
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

Update dependency @preact/signals to v2 #124

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 17, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@preact/signals (source) 1.3.2 -> 2.0.1 age adoption passing confidence

Release Notes

preactjs/signals (@​preact/signals)

v2.0.1

Compare Source

Patch Changes
  • #​647 655905b Thanks @​jviide! - Ensure that text effects get disposed

  • #​630 4b9144f Thanks @​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.0

Compare Source

Major Changes
  • #​604 fea3e8d Thanks @​JoviDeCroock! - Defer all DOM updates by an animation frame, this should make it so
    that 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 way
    this was always the case, as a signal update that resulted in
    a Preact state update would require it to be wrapped in act, but
    now this is the norm.

Minor Changes
Patch Changes
  • #​609 8e6e2de Thanks @​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.

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

cloudflare-workers-and-pages bot commented Dec 17, 2024

Deploying ras0q-com with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5679c6b
Status: ✅  Deploy successful!
Preview URL: https://3e1eccfc.ras0q-com.pages.dev
Branch Preview URL: https://renovate-preact-signals-2-x.ras0q-com.pages.dev

View logs

@renovate renovate bot force-pushed the renovate/preact-signals-2.x branch from a267064 to 4e4474b Compare January 4, 2025 13:25
@renovate renovate bot changed the title Update dependency @preact/signals to v2 Update dependency @preact/signals to v2 - autoclosed Jan 13, 2025
@renovate renovate bot closed this Jan 13, 2025
@renovate renovate bot deleted the renovate/preact-signals-2.x branch January 13, 2025 13:24
@renovate renovate bot changed the title Update dependency @preact/signals to v2 - autoclosed Update dependency @preact/signals to v2 Jan 13, 2025
@renovate renovate bot reopened this Jan 13, 2025
@renovate renovate bot force-pushed the renovate/preact-signals-2.x branch 3 times, most recently from 7bd0735 to 5b2b443 Compare January 20, 2025 05:43
@renovate renovate bot force-pushed the renovate/preact-signals-2.x branch from 5b2b443 to 5679c6b Compare February 3, 2025 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants