@@ -13,15 +13,15 @@ You can install XState using your favorite package manager or embed the `<script
13
13
<TabItem value = " yarn" label = " yarn" >
14
14
15
15
``` bash
16
- yarn add xstate
16
+ yarn add xstate@beta
17
17
```
18
18
19
19
</TabItem >
20
20
21
21
<TabItem value = " npm" label = " npm" >
22
22
23
23
``` bash
24
- npm install xstate
24
+ npm install xstate@beta
25
25
```
26
26
27
27
</TabItem >
@@ -50,64 +50,3 @@ actor.subscribe((state) => {
50
50
});
51
51
actor .start ();
52
52
```
53
-
54
- Coming soon… Codepen link.
55
-
56
- ## Exports
57
-
58
- ``` ts
59
- import { doneInvoke , forwardTo , sendParent , sendTo } from ' ./actions.ts' ;
60
- export { assign } from ' ./actions/assign.ts' ;
61
- export { cancel } from ' ./actions/cancel.ts' ;
62
- export { choose } from ' ./actions/choose.ts' ;
63
- export { log } from ' ./actions/log.ts' ;
64
- export { pure } from ' ./actions/pure.ts' ;
65
- export { raise } from ' ./actions/raise.ts' ;
66
- export { stop } from ' ./actions/stop.ts' ;
67
- import { createActor , Actor , ActorStatus } from ' ./interpreter.ts' ;
68
- import { createMachine } from ' ./Machine.ts' ;
69
- import { mapState } from ' ./mapState.ts' ;
70
- import { State } from ' ./State.ts' ;
71
- import { StateNode } from ' ./StateNode.ts' ;
72
- export { SimulatedClock } from ' ./SimulatedClock.ts' ;
73
- export { StateMachine } from ' ./StateMachine.ts' ;
74
- export { getStateNodes } from ' ./stateUtils.ts' ;
75
- export { waitFor } from ' ./waitFor.ts' ;
76
- export * from ' ./typegenTypes.ts' ;
77
- export * from ' ./types.ts' ;
78
-
79
- export {
80
- matchesState ,
81
- pathToStateValue ,
82
- toObserver ,
83
- toSCXMLEvent ,
84
- } from ' ./utils.ts' ;
85
- export {
86
- StateNode ,
87
- State ,
88
- mapState ,
89
- sendTo ,
90
- sendParent ,
91
- forwardTo ,
92
- createActor ,
93
- Actor ,
94
- ActorStatus ,
95
- doneInvoke ,
96
- createMachine ,
97
- };
98
- export {
99
- fromPromise ,
100
- fromObservable ,
101
- fromCallback ,
102
- fromEventObservable ,
103
- fromTransition ,
104
- } from ' ./actors/index.ts' ;
105
-
106
- export { stateIn , not , and , or } from ' ./guards.ts' ;
107
-
108
- declare global {
109
- interface SymbolConstructor {
110
- readonly observable: symbol ;
111
- }
112
- }
113
- ```
0 commit comments