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
It is quite do-able to implement this, but I'm still reluctant to say whether such safe guards are the responsibility of Mobservable. So for now I will close the issue, until similar feature requests or more 👍's come in.
Would it be useful to have support for "protected" observables? Meaning, reactive values that cannot be set outside of a
transaction
block.Using the above example, if we were to try directly assigning to a protected value (
authInfo.authenticated = true
) it should fail.But would it ignore the input or throw an error? Would mobservable take a performance hit to add this? Is this even a good idea? 😨 💬
The text was updated successfully, but these errors were encountered: