cassiozen / useStateMachine

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

Revert "feat(dx): instantiate all boundary types" #82

Closed cassiozen closed 2 years ago

cassiozen commented 2 years ago

Reverts cassiozen/useStateMachine#76 - it causes problems with setContext on useEffect:

Screen Shot 2022-01-14 at 6 05 46 PM
devanshj commented 2 years ago

Hmm interesting, could you share that code? (Or does it happen with any setContext?) I'll look into it later.

It might be a regression from reverting #72