by hudbuddy · 8y ago · 0 comments
It is a really cool way of looking at DOM state as a flow of: <interface> -> user interaction -> application reaction -> <interface>
The general idea being that the state of an application can be represented by a timeline of events throughout the lifetime of an application. Since it is entirely time and event driven/stateless, it gives way to some pretty cool "time travel" concepts.
The philosophy is this:
If you know how something begins, and you know the exact times at which anything happens to it, then you can assume its state at any given period in time.
It’s a cool idea. It’s cooler if your organization has the chops to rarely introduce defects. Replaying on refresh works ok ish. The really cool part is making every interaction with the system uniform. State comes in, small tweak, state goes out.