You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 theautoEffect
. I am looking for a way to have this reactive function run only upon the change tostore.title
and notstore.name
The text was updated successfully, but these errors were encountered: