Comments (3)
v4 didn't allow dynamic IDs on invoke
but I don't see a reason why we shouldn't allow this in v5. spawnChild
already supports this and both use the same implementation under the hood.
from xstate.
Awesome, thank you. Dynamic id's are just what I needed!
from xstate.
This turned out to be slightly more complicated than I anticipated since we were relying on those particular IDs to be static. This bit of the implementation is funky - so perhaps this will force us to rethink what we are doing there in terms of how we allow for entry sendTo
actions targeting invoked actors to be "retried".
from xstate.
Related Issues (20)
- Bug: What happend to useInterpret on xstate v5? on react HOT 6
- Bug: 'const' in type declaration other than type param declaration HOT 2
- Bug: higher-order guards types do not allow dynamic params HOT 4
- [V5] [Bug]: typescript errors when spawning actors during context initialization HOT 4
- TypeError: Cannot read properties of undefined (reading 'getSnapshot') HOT 4
- bug: @xstate/vue happend a error: value HOT 1
- rehydrating stopped actors fail to subscribe HOT 2
- tsTypes missing from typescript definition HOT 10
- Make input required in integration packages when needed
- [v5] Get next events from a state using @xstate/svelte
- Bug: `@xstate/vue`'s `useActor` incorrectly types the `send()` function with `EventFrom` rather than `EventFromLogic` HOT 2
- Bug: 'self' missing in context
- Bug: `AssignAction` type error when using `exactOptionalPropertyTypes: true` HOT 4
- Bug: Uncaught Error: Unable to send event to actor 'grandchild' from machine 'child'. HOT 2
- Bug: reenter/always transitions do not get executed when state is restored HOT 7
- Feature: infer the `sendTo` events from the actor ids if the `children` type is present in setup
- Bug: Exit actions aren't triggered when machine is stopped HOT 3
- Bug: Logger not propagated to child machines from root HOT 2
- Bug: React fash refresh crashes with element reference in machine context HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xstate.