cassiozen / useStateMachine

The <1 kb state machine hook for React
MIT License
2.38k stars 47 forks source link

Added full state as param to guard + send as param to effect #1

Closed cassiozen closed 3 years ago

cassiozen commented 3 years ago

Users should be able to send a transition from within effect. Users should have access to context from within a guard.

github-actions[bot] commented 3 years ago

size-limit report 📦

Path Size
dist/usestatemachine.cjs.production.min.js 470 B (+0.22% 🔺)
dist/usestatemachine.esm.js 469 B (-0.22% 🔽)
cassiozen commented 3 years ago

@all-contributors please add @cassiozen for code, doc, ideas and bug.

allcontributors[bot] commented 3 years ago

@cassiozen

This project's configuration file has malformed JSON: .all-contributorsrc. Error:: Unexpected token } in JSON at position 374

cassiozen commented 3 years ago

@all-contributors please add @cassiozen for code, doc, test, ideas and bug.

allcontributors[bot] commented 3 years ago

@cassiozen

I've put up a pull request to add @cassiozen! :tada: