Releases: reactive/data-client
@data-client/react@0.12.1
Patch Changes
-
#3043
5b64cbf
Thanks @ntucker! - Improve controller type matching for its methods -
#3043
5b64cbf
Thanks @ntucker! - Improve useFetch() argtype matching similar to useSuspense() -
6e9d36b
Thanks @ntucker! - Fix useDLE return loading and error when args can be null -
Updated dependencies [
5b64cbf
]:- @data-client/core@0.12.1
@data-client/img@0.12.2
@data-client/img@0.12.1
@data-client/core@0.12.1
Patch Changes
- #3043
5b64cbf
Thanks @ntucker! - Improve controller type matching for its methods
@data-client/test@0.12.0
Minor Changes
-
#3038
7a22440
Thanks @ntucker! - Rely on ErrorBoundary from '@data-client/react' rather than error-boundary package.BREAKING CHANGE: This means only 0.11 and higher of '@data-client/react' is supported
Patch Changes
@data-client/test@0.11.5
@data-client/rest@0.11.5
Patch Changes
-
#3028
b173c52
Thanks @ntucker! - Warn for capitalization mistakes when calling createResource()Endpoint
andCollection
are both capitalized because they
are classes. However, this may not be intuitive since other arguments are lower-first. Let's add a console.warn() to help
guide, since this may be intentional?export const UserResource = createResource({ urlPrefix: CONFIG.API_ROOT, path: "/users/:id", schema: User, // this should be 'Endpoint:' endpoint: AuthedEndpoint, });