Fork me on GitHub
#fulcro
<
2021-11-04
>
Jakub Holý (HolyJak)14:11:27

@tony.kay / @wilkerlucio I expected the time travel in Fulcro Inspect - DB to also change the UI as I go back in the history (since ui=f(db)) but it does not. Was my expectations wrong? Or is something missing in my setup? Thank you! (I have the "Show DOM Preview" checkbox unchecked but even if I check it, nothing shows in the ui so I am not sure what it is expected to do.)

Chris O’Donnell14:11:55

Pretty sure the ui has changed for me in the past when I used the time travel feature.

Chris O’Donnell14:11:19

I could try to dig up which versions of stuff this was working with a bit later.

tony.kay15:11:03

So the time travel feature isn't the best idea in real applications, so it isn't well-maintained. I don't rmember the status, to be honest. I know Inspect should be able to reset app state to a given prior state. Not very high priority from my perspective. It's a fancy-looking feature, but in my experience doesn't have much practical value in real applications because of all of the I/O that such travel cannot "undo" and also accidentally triggers due to hooks/lifecycle methods (if you've used them, and most ppl have).

Jakub Holý (HolyJak)17:11:58

I see, thank you! Resetting to a particular state works.