Initialising queryCache #472
|
I have a api call which gets me all the initial data ( like statues, dropdown values which rarely change ). |
Replies: 3 comments 1 reply
|
Stale time can be configured at the global and query level.
You can either set it at the global level with queryConfigProvider or per query when you call useQuery |
|
You may be interested in this feature request |
|
I now have a parent component which loads the data from the server. It passes the data to child component which calls the hooks and sets the initialData field. |
I now have a parent component which loads the data from the server. It passes the data to child component which calls the hooks and sets the initialData field.