Lucy Wang

Results 37 comments of Lucy Wang

The problem is the function itself may not change, but still got re-evaled becaues of some dependency ns is changed, for instance a change in some util/helper ns could results...

I played with it a bit, but it looks like the view instance is recreated each time the spec is changed, so the solution I proposed above may not work.

technically we can do that, but from a higher level i think it's better to modify the statecharts instead to distinguish "disconnected but retrying" and "disconnected and retry exhausted" states,...

Right now the `:always` part is only evaluated when entering the state it's defined in. i.e. `:s2` in the example used in the documentation.

Looks like in the statecharts specification, the `:always` part shall be evaluated for any event, as long as the machine is in that state. https://statecharts.dev/glossary/automatic-transition.html > Automatic transitions are usually...