@ryfylke-react/rtk-query-loader@1.0.0
This update includes breaking changes.
- New feature: Pass any static data through loader
- New feature: Extend only
transform
withoutuseQueries
(previouslyqueries
) - Change: How
createLoader
receives queries. (useQueries
) - Change: How
createLoader
receives deferredQueries. (useQueries
) - Change: Default loader output format
type NewOutputFormat = {
queries: Record<string, UseQueryResult>;
deferredQueries: Record<string, UseQueryResult>;
payload: T;
}
- Change: You are no longer required to
transform
when deferring queries - Updated docs
- Added migration guide to docs