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
For example, when defining a hook like useBoolean, it would be nice if we can specify something like stableResults: ['toggle', 'setTrue', 'setFalse', 'setValue'].
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Thanks for the amazing work! Biome is definitely one of the best tools I've used! Great DX!
Regarding https://biomejs.dev/linter/rules/use-exhaustive-dependencies/#stable-results I suggest we also allow specifying keys that will be stable.
For example, when defining a hook like useBoolean, it would be nice if we can specify something like
stableResults: ['toggle', 'setTrue', 'setFalse', 'setValue']
.Beta Was this translation helpful? Give feedback.
All reactions