Skip to content
Discussion options

You must be logged in to vote

it doesn't matter. isLoading is exactly the same as status === 'loading'.
The article means to not store booleans in state, which react-query doesn't do. Derived booleans are fine. Probably js users prefer them because there is no type safety when comparing strings

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@cmacdonnacha
Comment options

@cmacdonnacha
Comment options

@TkDodo
Comment options

Answer selected by cmacdonnacha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants