Comment

Comment by fnordsensei

"If you haven't built a finite state machine, you've built a bad finite state machine."

I've recently started using Fulcro (framework in ClojureScript), where they are first class citizens in the form of "UI state machines."

http://book.fulcrologic.com/#_ui_state_machines

In retrospect it's obvious how much better it is to contain, for example, the logic of logging in and signing up within an FSM.

parent fnordsensei 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton