3 ms·
Do you think it might be possible to integrate non-FRP style programs (basically stateful, imperative style) by running them in a VM which can isolate the effec
by shalabhc 9y ago
Do you think it might be possible to integrate non-FRP style programs (basically stateful, imperative style) by running them in a VM which can isolate the effects and snapshot/restore the entire system state? In theory at least, it seems something like a web browser could rewind the state of a web app and replay with different input.
- lomnakkus 9y agoSnapshots/diffs are not enough to be able to "project into the future". In the web browser this is mostly achievable if the whole app is programmed in a very strict React/Redux style where everything the React portion is handled through props. (Focus being an exception that seems just untamed, so far. I may very well have missed developments here.)
- beaconstudios 9y agoI can confirm that dealing with focus in react hasn't really advanced. There's useful libraries for working around this like react-hotkeys but that's about it.