reactronic
reactronic copied to clipboard
Cache should be invalidated right inside a transaction if it changes a variable used by that function
If transaction changes some variable and calls cached function that uses that variable, then cached function should not return cached result (instead, it should be recomputed right inside the transaction).
Alternative approach is to provide nocache(() => {...}) construct in order to access cached functions on pass-through basis