問題タブ [xstate]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
reactjs - XState react - 複数のコンポーネント間でマシン インスタンスを共有する
と の 2 台のマシンがAuthenticationMachine
ありAddressMachine
ます。AuthenticationMachine は によって使用されLogin component
、AddressMachine は によって使用されAddress component
ます。しかしtoken
、AddressMachine で使用するには、Address コンポーネントの AuthenticationMachine が必要です。Actor
AuthenticationMachine で生成しようとしましたが、うまくいきませんでした。
認証機