How can I create a custom eslint rule to give a warning when using isLoading
with v5?
#8275
Unanswered
rinarakaki
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Since only the meaning of
isloading
has changed since v5, which cannot be caught by typecheck, I want to give our team a warning message when they use isLoading, so that they're aware of the new meaning. I would appreciate if someone could give me some guidance on this, asisloading
can occur in many syntactic places, for example:Invalid cases:
Valid cases:
Beta Was this translation helpful? Give feedback.
All reactions