1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
Commit graph

630 commits

Author SHA1 Message Date
Naoyuki Kanezawa 0b3db91731 Fix handling finished response (#889)
* allows to not return props if response is already finished on getInitialProps

* check res.finished after getInitialProps call of Document
2017-01-26 16:36:50 +05:30
nkzawa 386c960359 Release 2.0.0-beta.19 2017-01-26 18:30:56 +09:00
nkzawa 293029a36a update yarn.lock 2017-01-26 18:30:20 +09:00
Jarmo Isotalo 51cbebb240 Don't process.exit(null) when e.g build is SIGKILLed (#887) 2017-01-25 17:10:48 -08:00
Adam Soffer a76ec83b64 Update Apollo Example (#888)
* Add minimal apollo example

* Update apollo example README

* Update apollo example demo link in README

* Fix button styles

* Fix show more button

* Alias demo url

* Include the data field on the Apollo store when hydrating

* Revert

* Include the data field on the Apollo store when hydrating per tpreusse's suggestion.

* Add example to faq section in README

* Sort by newest; Add active state to buttons

* Make optimization suggestions

* Use process.browser; inline props

* Pass wrapped component's initial props into component heirarchy if they exist
2017-01-25 17:10:21 -08:00
Arunoda Susiripala b4e2b7bd4d Handles the initial popstate event of older version of Safari. (#870) 2017-01-26 01:58:26 +09:00
greenkeeper[bot] f89eaf315c fix(package): update styled-jsx to version 0.5.1 (#879)
https://greenkeeper.io/
2017-01-25 14:56:35 +01:00
Robin Frischmann a418b35e98 Added Fela Example to the CSS-in-JS <details> in README (#878) 2017-01-25 04:13:34 -08:00
Dan Zajdband 3ad3a6c1e7 Added Google AMP example (#793)
* Added Google AMP example

* Added styles and a second page

* Using regular anchor since there is no client-side routing

* Added comment on react config for amp
2017-01-24 05:20:56 -08:00
jagreehal cbb2d1c250 simpler flow task (#857) 2017-01-23 22:19:14 -08:00
Robin Frischmann 8d8d5ebdf6 Example using Fela (#863)
* added example using fela

* update package-json

* removed nested routing test

* fixed linting issues

* fixed typo
2017-01-23 20:29:15 -03:00
Greenkeeper 2390c87cb4 chore(package): update husky to version 0.13.1 (#862) 2017-01-23 13:50:07 +01:00
Naoyuki Kanezawa 8b94534260 Wrap render method created using class properties (2) (#856)
* wrap render method created using class properties

* use Boolean instead of double not-operator

* patch-react: move a comment
2017-01-22 10:11:56 -08:00
Adam Soffer 4b257483e2 Add Apollo example (#780)
* Add minimal apollo example

* Update apollo example README

* Update apollo example demo link in README

* Fix button styles

* Fix show more button

* Alias demo url

* Include the data field on the Apollo store when hydrating

* Revert

* Include the data field on the Apollo store when hydrating per tpreusse's suggestion.

* Add example to faq section in README

* Sort by newest; Add active state to buttons

* Make optimization suggestions

* Use process.browser; inline props
2017-01-22 13:27:06 +01:00
Guillermo Rauch 85cd38f4bd tweak font sizes again 🙈 2017-01-21 18:12:27 -08:00
Zhao 3813f73ece Fix error fonts (#826)
* add "consolas" font for windows

* fix too small font size in non-retina display
2017-01-21 18:04:41 -08:00
Greenkeeper 13d6c04acf chore(package): update husky to version 0.13.0 (#853) 2017-01-21 16:16:06 -08:00
Kristo Jorgenson e67d62d888 Update styled-component docs (#841)
* Add details to custom Document documentation

Custom document must be created at ./Pages/_document.js, which is not
noted in the README… so I updated it.

* Add note to styled-components example about existing issue

* Made phrasing a bit more clear

* Another phrasing update.

* from P to p
2017-01-21 22:24:17 +01:00
Naoyuki Kanezawa 98e2951f0c Use ErrorDebug component on error of react-hot-loader (#852)
* use ErrorDebug component for reporter of react-hot-loader

* app: fix props of ErrorDebug
2017-01-21 10:46:18 -08:00
Guillermo Rauch cec8f9dd58 Release 2.0.0-beta.18 2017-01-20 18:45:23 -08:00
Guillermo Rauch 3765b14993 bump styled-jsx 2017-01-20 18:26:27 -08:00
Greenkeeper f085a6d9a0 chore(package): update styled-jsx to version 0.4.5 (#847) 2017-01-20 23:15:58 +01:00
Arunoda Susiripala 399e510389 Make sure lastAppProps always have some value. (#829)
* Make sure lastAppProps always have some value.

* Revert "Make sure lastAppProps always have some value."

This reverts commit b4ae722d9c1a4460e17dbdc041b111cbd492b2aa.

* Throw an error, if we found an empty object from getInitialProps.

* Add proper tests for getInitialProps empty check.
2017-01-20 11:33:46 -08:00
Greenkeeper 318f110a8e chore(package): update babel-generator to version 6.22.0 (#833) 2017-01-20 08:16:02 +01:00
Greenkeeper a05a5d2004 chore(package): update babel-plugin-transform-async-to-generator to version 6.22.0 (#834) 2017-01-20 08:15:31 +01:00
Greenkeeper 865f806058 chore(package): update babel-plugin-transform-class-properties to version 6.22.0 (#835) 2017-01-20 08:15:05 +01:00
Greenkeeper 118055516c chore(package): update babel-plugin-transform-object-rest-spread to version 6.22.0 (#836) 2017-01-20 08:14:44 +01:00
Greenkeeper 2aed328eee chore(package): update babel-plugin-transform-runtime to version 6.22.0 (#837) 2017-01-20 08:14:10 +01:00
Greenkeeper 279fc99e31 chore(package): update babel-preset-es2015 to version 6.22.0 (#838) 2017-01-20 08:13:37 +01:00
Greenkeeper 901ab5f5d7 chore(package): update babel-preset-react to version 6.22.0 (#839) 2017-01-20 08:12:55 +01:00
Greenkeeper 21a22b9791 chore(package): update babel-runtime to version 6.22.0 (#840) 2017-01-20 07:41:22 +01:00
Greenkeeper cfb1c0fbd5 chore(package): update babel-core to version 6.22.1 (#842) 2017-01-20 07:41:11 +01:00
alex newman c21531151f Move nextdata into nextScript and make Main return a single el (#831) 2017-01-19 16:14:05 -08:00
Ryuichi Okumura 5be9c04007 Custom server example with Hapi in README (#825) 2017-01-19 14:22:21 +01:00
jagreehal 1e77568657 added example with flow (#814)
* added  example with flow

* Fixed linting errors
2017-01-19 01:48:55 -08:00
Naoyuki Kanezawa 43149bdb08 fix not to overwrite the ignored option on Windows (#824) 2017-01-19 08:09:40 +01:00
Greenkeeper 011914906b chore(package): update styled-jsx to version 0.4.4 (#817) 2017-01-18 19:56:23 +01:00
Arunoda Susiripala 2efabde215 Fix koa-404 issue by adding res.statusCode to 200 (#815) 2017-01-18 00:45:29 -03:00
Greenkeeper c1f2b92a27 chore(package): update source-map-support to version 0.4.10 (#809) 2017-01-18 00:25:40 +09:00
Dan Zajdband 2c2d961844 Added Koa example (#800)
* Added Koa example

* Linted koa example
2017-01-17 08:23:06 +01:00
Greenkeeper 0627378bc2 chore(package): update glamor to version 2.20.22 (#804) 2017-01-17 08:20:43 +01:00
张俊锋 606d89c9f5 Update README.md (#802)
fix quotation mark
2017-01-16 20:26:23 -08:00
Dan Zajdband e28f80cd99 Updated <Link> in repo, always wrapping an anchor. (#798) 2017-01-16 22:27:55 +01:00
Sébastien Dubois a66ff658f4 Fix link (#789)
* Fix link

* Fix links
2017-01-16 18:23:24 -03:00
Dan Zajdband 70b92e6b65 Added deprecation message when adding an extra anchor in behalf of the user. (#797) 2017-01-16 22:02:11 +01:00
Dan Zajdband 7cc554c67a Fixed hapi example (#795) 2017-01-16 11:27:07 -08:00
Sébastien Dubois ffeeb682af Remove useless config override (#790) 2017-01-16 14:24:33 -03:00
Greenkeeper 807d4be9ff chore(package): update styled-jsx to version 0.4.3 (#792) 2017-01-17 00:23:03 +09:00
Sébastien Dubois 8fa630d855 Add dynamic routing keyword (#788)
I was looking for "dynamic routing" in the examples and didn't find it because that keyword isn't used.
2017-01-16 23:33:11 +09:00
Mike Bannister 789edb87b7 Fix typo in README (#787) 2017-01-16 02:41:46 -08:00