As React-easy-state uses autoEffect to make a reactive function I wonder if there is a way to exclude one of the store elements included in the autoEffect as such :
autoEffect(() => store.title === true && (store.name = 'test'))
with the above example any change to store.name also triggers the autoEffect. I am looking for a way to have this reactive function run only upon the change to store.title and not store.name
As React-easy-state uses
autoEffectto make a reactive function I wonder if there is a way to exclude one of the store elements included in the autoEffect as such :autoEffect(() => store.title === true && (store.name = 'test'))with the above example any change to
store.namealso triggers theautoEffect. I am looking for a way to have this reactive function run only upon the change tostore.titleand notstore.name