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
To catch bugs where we pass the wrong state to an atom faster, it would be nice if we could pass a validator function to the atom's options table. For performance reasons this should only run in dev mode, _G.__DEV__ like react.
atom("John", {
validate=t.string,
})
The text was updated successfully, but these errors were encountered:
To catch bugs where we pass the wrong state to an atom faster, it would be nice if we could pass a validator function to the atom's options table. For performance reasons this should only run in dev mode,
_G.__DEV__
like react.The text was updated successfully, but these errors were encountered: