Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 637 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 637 Bytes

This repo is a demonstration of the current sizes of an app with relay-modern vs apollo-client.

A react + react-dom base is used as a comparison. Each library is then added and the resulting bundle sizes are compared.

Run sh sizes.sh to generate:

React 16

React base size is: 34KiB
Marginal size of relay-modern after min and gzip: 34KiB
Marginal size of apollo after min and gzip: 33KiB

React 15 (old results)

React base size is: 43KiB
Marginal size of relay-classic after min and gzip: 78KiB
Marginal size of relay-modern after min and gzip: 32KiB
Marginal size of apollo after min and gzip: 25KiB