react-easy-state
react-easy-state copied to clipboard
Exclusion from autoEffect
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