DEV Community

Discussion on: No, disabling a button is not app logic.

Collapse
 
felix profile image
Felix Guerin

Thank you so much for that article, it's a whole new way of looking at app logic for me and I really learned a lot!

I'm not exactly sure how I would replicate useEffect() outside of React and without using Xstate (or any other state machine library). Do you know of a framework/library agnostic way of doing this?