Skip to content
This repository was archived by the owner on Apr 11, 2019. It is now read-only.

Commit bf90212

Browse files
authored
Feat: add performance section to README
1 parent 739f442 commit bf90212

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,27 @@ Below are a few example apps that have been built with this project
4343

4444
__NOTE: if you are using this boilerplate in production, we want to know! Leave an issue, or submit a PR and we will merge it in. Thanks!__
4545

46+
## Performance
47+
This framework takes performance to the extreme and includes a whole slew of performance optimizations out of the box. We have benchmarked the initial time to first byte at under 20ms!
48+
1. Webpack code chunking
49+
2. Lazy React Router Route Loading
50+
3. Serverside Rendering
51+
4. Reselect
52+
Memoization and React.PureComponent
53+
54+
5. GraphQL
55+
GraphQL increases performance by eliminating expensive over-fetching
56+
57+
6. Service Worker / Offline First
58+
The only requirement to go offline first is using SSL.
59+
60+
7. Immutable JS
61+
Immutable JS is installed by default, but not used in the example application. By combining React.PureComponent, reselect and immutable.js, you will get some serious rendering performance enhancements.
62+
4663
## Experimental Features
4764

4865
### GraphQL / Apollo Features
49-
This boilerplate includes some basic setup for GraphQL and ApolloClient. You will have to setup your own GraphQL Server. Alternatively, take a look at the [GraphQL Anywhere](https://github.com/apollostack/graphql-anywhere) package (not installed), which would allow you to process GraphQL queries client-side.
66+
This framework includes some basic setup for GraphQL and ApolloClient. You will have to setup your own GraphQL Server. Alternatively, take a look at the [GraphQL Anywhere](https://github.com/apollostack/graphql-anywhere) package (not installed), which would allow you to process GraphQL queries client-side.
5067

5168
The setup includes the ability to generate the boilerplate to create GraphQL / ApolloClient queries and mutations within your containers. It also adds the eslint-graphql-plugin to lint your collocated GraphQL queries / mutations. The way it works is to load a schema.json file to create an AST of your GraphQL schema. You will need to provide your own schema.json file and leave it in the `/config/schema/` folder.
5269

0 commit comments

Comments
 (0)