From ae805a0bcfd970323e016492cc7d76836e9f8d59 Mon Sep 17 00:00:00 2001 From: Shu Ding Date: Sat, 29 Sep 2018 09:16:49 -0500 Subject: [PATCH] Improve README.md (#5331) - `
` and `
+

+
How big is it? @@ -1659,6 +1722,8 @@ A small Next main bundle is around 65kb gzipped.
+

+
Is this like `create-react-app`? @@ -1678,12 +1743,16 @@ If you want to create re-usable React components that you can embed in your Next
+

+
How do I use CSS-in-JS solutions? Next.js bundles [styled-jsx](https://github.com/zeit/styled-jsx) supporting scoped css. However you can use any CSS-in-JS solution in your Next app by just including your favorite library [as mentioned before](#css-in-js) in the document.
+

+
What syntactic features are transpiled? How do I change them? @@ -1693,6 +1762,8 @@ See the documentation about [customizing the babel config](#customizing-babel-c
+

+
Why a new Router? @@ -1711,6 +1782,8 @@ We tested the flexibility of the routing with some interesting scenarios. For an
+

+
How do I define a custom fancy route? @@ -1719,12 +1792,16 @@ We [added](#custom-server-and-routing) the ability to map between an arbitrary U On the client side, we have a parameter call `as` on `` that _decorates_ the URL differently from the URL it _fetches_.
+

+
How do I fetch data? It’s up to you. `getInitialProps` is an `async` function (or a regular function that returns a `Promise`). It can retrieve data from anywhere.
+

+
Can I use it with GraphQL? @@ -1732,18 +1809,24 @@ Yes! Here's an example with [Apollo](./examples/with-apollo).
+

+
Can I use it with Redux? Yes! Here's an [example](./examples/with-redux)
+

+
Can I use Next with my favorite Javascript library or toolkit? Since our first release we've had **many** example contributions, you can check them out in the [examples](./examples) directory
+

+
What is this inspired by? @@ -1757,6 +1840,8 @@ As we were researching options for server-rendering React that didn’t involve
+

+ ## Contributing Please see our [contributing.md](./contributing.md)