jsonapi-react icon indicating copy to clipboard operation
jsonapi-react copied to clipboard

A minimal JSON:API client and React hooks for fetching, updating, and caching remote data.

Results 19 jsonapi-react issues
Sort by recently updated
recently updated
newest added

Removes [node-notifier](https://github.com/mikaelbr/node-notifier). It's no longer used after updating ancestor dependency [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest). These dependencies need to be updated together. Removes `node-notifier` Updates `jest` from 24.9.0 to 29.5.0 Release notes Sourced from...

dependencies

Readme states the support of "React 16.8 or later" yet it's a bit outdated now and not installable on a React v18 project: https://github.com/aribouius/jsonapi-react/blob/426115ab64093588fff88f9cdadcf4134d670d31/package.json#L19-L22 I've force-installed this package into my...

When making a PATCH request, the jsonapi request body does not include the `id` field, which other jsonapi clients include. ``` PATCH /api/claims/abc-123 { "data": { "type": "claims", "attributes": {...

Bumps [json-schema](https://github.com/kriszyp/json-schema) and [jsprim](https://github.com/joyent/node-jsprim). These dependencies needed to be updated together. Updates `json-schema` from 0.2.3 to 0.4.0 Commits f6f6a3b Use a little more robust method of checking instances ef60987 Update...

dependencies

Removes [jsdom](https://github.com/jsdom/jsdom). It's no longer used after updating ancestor dependency [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest). These dependencies need to be updated together. Removes `jsdom` Updates `jest` from 24.9.0 to 29.4.3 Release notes Sourced from...

dependencies

Bumps [minimist](https://github.com/minimistjs/minimist) and [mkdirp](https://github.com/isaacs/node-mkdirp). These dependencies needed to be updated together. Updates `minimist` from 1.2.0 to 1.2.8 Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option...

dependencies

Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...

dependencies

Would it be possible to use [SWR](https://swr.vercel.app/), by leveraging on `useSWR` hook instead of `useQuery`? I imagine it can be done by creating a custom fetcher using a JSONAPI `ApiClient.fetch`

Is there any way I can send FormData through client.mutate() ? I have a file which needs to be sent as FormData to backend as POST request. We are using...