Hello.
As a newbie to rtk-query, I found the official documentation for useLazyQuery a bit confusing while trying to apply it to my project.
In the description, it says the following about data.
Returns the latest request status and cached data from the Redux store
When I first read this description, I thought that data always tries to read the cached values from the store, regardless of whether the trigger is fired or not.
After running it myself, I realized that it was describing the behavior after the trigger.
English isn't my first language, so I'm not 100% sure, but is it just me or is this documentation confusing?
If so, is it okay to write a PR to clarify this?
Hello.
As a newbie to rtk-query, I found the official documentation for
useLazyQuerya bit confusing while trying to apply it to my project.In the description, it says the following about
data.When I first read this description, I thought that
dataalways tries to read the cached values from the store, regardless of whether the trigger is fired or not.After running it myself, I realized that it was describing the behavior after the trigger.
English isn't my first language, so I'm not 100% sure, but is it just me or is this documentation confusing?
If so, is it okay to write a PR to clarify this?