Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: bump @xstate/react from 3.0.1 to 3.2.1 in /site#6955

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabotdependabotbot commented on behalf ofgithubApr 1, 2023

Bumps@xstate/react from 3.0.1 to 3.2.1.

Release notes

Sourced from@​xstate/react's releases.

@​xstate/react@​3.2.1

Patch Changes

@​xstate/react@​3.2.0

Minor Changes

  • #3814494203b3d Thanks@​Andarist! - TheProvider fromcreateActorContext(...) now accepts theoptions={{...}} prop that takes the same object as the second argument to theuseMachine(machine, options) hook.

    These options are no longer passed as the second argument to thecreateActorContext(machine) function:

    -const SomeContext = createActorContext(someMachine,-  { actions: { ... } });+const SomeContext = createActorContext(someMachine);// ...-<SomeContext.Provider>+<SomeContext.Provider options={{ actions: { ... } }}>// ...

@​xstate/react@​3.1.2

Patch Changes

  • #3804b53856d28 Thanks@​farskid! - Interpreter options can now be specified in the second argument of createActorContext(machine, options).

@​xstate/react@​3.1.1

Patch Changes

  • #379951d254692 Thanks@​Andarist! - Fixed an issue that caused the internally useduseSyncExternalStore to warn about the computed snapshot not being cached when a not-started machine servive was passed touseActor.

@​xstate/react@​3.1.0

Minor Changes

  • #3778f12248b23 Thanks@​davidkpiano! - ThecreateActorContext(...) helper has been introduced to make global actors easier to use with React. It outputs a React Context object with the following properties:

    • .Provider - The React Context provider
    • .useActor(...) - A hook that can be used to get the current state and send events to the actor
    • .useSelector(...) - A hook that can be used to select some derived state from the actor's state
    • .useActorRef() - A hook that can be used to get a reference to the actor that can be passed to other components

    Usage:

    import{createActorContext}from'@xstate/react';

... (truncated)

Commits

Dependabot compatibility score

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)

Bumps [@xstate/react](https://github.com/statelyai/xstate) from 3.0.1 to 3.2.1.- [Release notes](https://github.com/statelyai/xstate/releases)- [Commits](https://github.com/statelyai/xstate/compare/@xstate/react@3.0.1...@xstate/react@3.2.1)---updated-dependencies:- dependency-name: "@xstate/react"  dependency-type: direct:production  update-type: version-update:semver-minor...Signed-off-by: dependabot[bot] <support@github.com>
@kylecarbskylecarbs merged commit31690c4 intomainApr 1, 2023
@kylecarbskylecarbs deleted the dependabot/npm_and_yarn/site/xstate/react-3.2.1 branchApril 1, 2023 21:37
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsApr 1, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@github-actionsgithub-actions[bot]github-actions[bot] approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@kylecarbs

[8]ページ先頭

©2009-2025 Movatter.jp