Questions tagged [ketting]

The Ketting library is a generic REST client with Hypermedia features.

3 questions
2
votes
1 answer

How to call a hook function into a map in react

I'm using ketting for my React REST client. The library provides hooks to access some data, In my case, this is this hook : import { useResource } from 'react-ketting'; ... const { loading, error, data } =…
Ugo Lfe
  • 717
  • 2
  • 9
  • 27
1
vote
1 answer

How to use http/2 protocol when request the API v.3 in Openproject.org

I using the Angular to request API v.3 in Openproject.org with "ketting" library https://github.com/badgateway/ketting/wiki/Optimizing. But can not switch http/1.1 to http/2 protocol although changed HTTP -> HTTPs for Openproject.
Tank Min
  • 48
  • 5
0
votes
1 answer

How to get notified when a Post is done with ketting

I'm actually trying the power of react-ketting with a fastify's API. From the hook useResource, I can get a submit function that will make a POST but I can't know when that submit is done and I can't get the API reply of this POST. React doesn't…
Ugo Lfe
  • 717
  • 2
  • 9
  • 27