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

Bug: Using actor.send outputs a warning that assign is not imperative when sent to an actor using enqueueActions #5343

Open
Labels
@MarjanDB

Description

@MarjanDB

XState version

XState version 5

Description

Coming from:statelyai/docs#469
I initially thought this was expected, but looks like it's not... so I'm opening an issue here.

I left a test in you can run:
Image

Thisline is using self.send, but usingenqueue.sendTo(self, …) will also produce the same warning.

Expected result

There should be no warning.

Actual result

I'm getting a warning that custom actions should not callassign

Reproduction

https://github.com/MarjanDB/xstate-minimal-reproduce

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp