Hacker News new | past | comments | ask | show | jobs | submit login

Right, but your example has nothing to do with a state machine. Nearly the same code could be written in React. I don't share the author's same view of "finicky useEffect" etc. Using a state machine for a modal is pretty overengineered, but I don't think that's reason to switch away from React altogether.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: