tivac/xstate-component-tree

Don't re-run functions if states don't change

tivac opened this issue · 1 comments

tivac commented

Need to not re-run load or prop functions if it's a state that existed in the previous run. Means each instance of ComponentTree needs to track the previous values for each possible state ID and then not re-run them if they're found in the cache.

tivac commented

This was done!