An open API service indexing awesome lists of open source software.

https://github.com/purelledhand/cra-protobuf-ts-example

Simple example for react app using protocol buffer
https://github.com/purelledhand/cra-protobuf-ts-example

Last synced: 3 months ago
JSON representation

Simple example for react app using protocol buffer

Awesome Lists containing this project

README

        

## React-Profobuf-Typescript Example

Protocol buffers, or Protobuf, is a binary format created by Google to serialize data between different services. Google made this protocol open source and now it provides support, out of the box, to the most common languages, like JavaScript, Java, C#, Ruby and others. In our tests, it was demonstrated that this protocol performed up to **6 times faster** than JSON.

> "Protobuf performs up to 6 times faster than JSON."

[reference](https://auth0.com/blog/beating-json-performance-with-protobuf/)

```shell
yarn start
```

### In this example

* Typescript 3.7.x
* create-react-app
* protobufjs

### Support

* Support absolute path with Typescript
* Support prettier
* Customize eslint config