Giters
cassiozen
/
useStateMachine
The <1 kb state machine hook for React
Geek Repo:
Geek Repo
Github PK Tool:
Github PK Tool
Stargazers:
2366
Watchers:
18
Issues:
48
Forks:
47
cassiozen/useStateMachine Issues
Issues with Typescript v5.4
Updated
a month ago
How to get the type for state and send?
Updated
2 months ago
How to use external machine config with correct type (using TypeScript)?
Closed
2 years ago
Comments count
8
Make "creating" and "using" a machine seperate
Updated
2 years ago
Comments count
5
Async Guard functions?
Closed
2 years ago
Document the difference between nextEvents & nextEventsT
Closed
2 years ago
Comments count
1
Add a wiki page on usage with React context
Closed
2 years ago
Comments count
1
[Question] How to update context without changing state?
Updated
2 years ago
Comments count
1
How to expose send func with useImperativeHandle?
Closed
2 years ago
Migrate away form TSDX
Closed
2 years ago
Shorthand syntax for updating context
Closed
2 years ago
Comments count
3
Suggestion: mayTransition function to check if a `send()` would pass guards.
Closed
2 years ago
Comments count
6
Update references to init event on state
Closed
2 years ago
useMachine return undefined in production environment
Closed
2 years ago
Comments count
5
Prevent memory leaks
Closed
3 years ago
Comments count
3
Disallow extra events in schema
Updated
3 years ago
DX for typed events
Closed
3 years ago
Comments count
7
Documentation discussion
Updated
3 years ago
Comments count
9
Types Roadmap
Updated
3 years ago
Comments count
26
"$$initial" event discussion.
Closed
3 years ago
Comments count
11
Suggestion: Less awkward way to pass context and event types
Closed
3 years ago
Comments count
5
`nextEvents.includes` inferred to `never`
Closed
3 years ago
Comments count
9
Access context inside effect
Closed
3 years ago
Comments count
13
Branding?
Closed
3 years ago
Comments count
2
Suggestion: Have an explicit initial event?
Closed
3 years ago
Comments count
1
Experiment: Extract context mutations to type level.
Updated
3 years ago
Comments count
4
Question about useConstant
Closed
3 years ago
Comments count
2
[QUESTION] Conditional transitions and guards
Closed
3 years ago
Comments count
1
Nested/hierarchical States
Updated
3 years ago
Comments count
13
New Example with event payload
Closed
3 years ago
Top level events
Closed
3 years ago
Switch non-standard console substitution key
Closed
3 years ago
Comments count
3
Add TSDoc
Closed
3 years ago
matches function on state prototype
Updated
3 years ago
Batch `update.send`
Closed
3 years ago
Comments count
4
Send should accept a payload
Closed
3 years ago
RFC: New effect & update Signature
Closed
3 years ago
Comments count
16
Merge send & update in effects
Closed
3 years ago
Comments count
5
Add @x-state/fsm XState comparison in the wiki
Closed
3 years ago
Comments count
1
Parameters when transitioning states
Closed
3 years ago
Comments count
3
Investigate adding support for Preact and Haunted
Closed
3 years ago
Comments count
2
Investigate adding type testing with https://github.com/microsoft/dtslint
Closed
3 years ago
Comments count
1
`send` should be stable across re-renders
Closed
3 years ago
Fix ESM file name in package.json
Closed
3 years ago
Debug mode
Closed
3 years ago
Comments count
1
“send” parameter type is not narrow inside effects
Closed
3 years ago
Comments count
3
Event type as `never` if any state doesn't declare `on`
Closed
3 years ago
Todo: add a section on XState
Closed
3 years ago