Basic exampleReact hooks exampleGitHub

http-streaming-request example: React hooks

As simple as:


const { data: people } = useJsonStreaming<Person[]>({
  url: "/api/people",
  method: "GET",
});