Skip to content

Commit

Permalink
Add example usage with React (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
easyCZ authored Mar 31, 2018
1 parent e695aee commit 93eff7e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ grpc.invoke(BookService.QueryBooks, {
});
```

### Usage with React
* [Example project using gRPC-Web with React and Go](https://github.com/easyCZ/grpc-web-hacker-news)

## Browser Support

The `grpc-web-client` uses multiple techniques to efficiently invoke gRPC services. Most modern browsers support the [Fetch API](https://developer.mozilla.org/en/docs/Web/API/Fetch_API), which allows for efficient reading of partial, binary responses. For older browsers, it automatically falls back to [`XMLHttpRequest`](https://developer.mozilla.org/nl/docs/Web/API/XMLHttpRequest).
Expand Down

0 comments on commit 93eff7e

Please sign in to comment.