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

953 commits

Author SHA1 Message Date
Adam Soffer c2036e1326 Create separate Apollo example without Redux integration (#1483)
* 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

* Remove unnecessary sorting of array

* Update Apollo example

* Remove trailing comma

* Update reduxRootKey

* Remove unnecessary babelrc

* Update with-apollo example

- Remove use of deprecated 'reduxRootKey' option
- Add loading indicator inside pagination button

* Fix with-apollo example pagination; Pass initialState to ApolloClient

* Split apollo example into two (one with and without Redux integration)

* Rename createClient private function to _initClient

* Set initialState default parameter inside initClient function

* Remove redux dep from with-apollo example
2017-03-30 11:21:13 -07:00
greenkeeper[bot] 102c20df2c chore(package): update wd to version 1.2.0 (#1521)
https://greenkeeper.io/
2017-03-30 11:20:26 -07:00
greenkeeper[bot] bab25f395a chore(package): update nyc to version 10.2.0 (#1529)
https://greenkeeper.io/
2017-03-30 11:20:10 -07:00
greenkeeper[bot] 074fd218cd chore(package): update benchmark to version 2.1.4 (#1540)
https://greenkeeper.io/
2017-03-30 11:19:56 -07:00
Leo Lamprecht 4430fd3e43 2.0.1 2017-03-30 20:17:17 +02:00
greenkeeper[bot] 248b2f45e2 chore(package): update coveralls to version 2.13.0 (#1570)
https://greenkeeper.io/
2017-03-30 11:13:59 -07:00
Arunoda Susiripala bd80b78f5d Handle undefined assets when combining. (#1569)
It's possible for common.js to be empty in certain cases.
So, we need to handle it.
2017-03-30 16:35:53 +02:00
Arunoda Susiripala 4a069e9d93 Remove Service Worker unregister code. (#1568)
We don't need to do it now. Because, any running service workers
might have stopped by now.
2017-03-30 16:18:15 +02:00
Arunoda Susiripala d32e69eeb9 Get rid of res.clone() (#1567)
Usually res.clone() should work. But it's not working with
the laster Safari (10.1)
We need to use a method we do not clone
2017-03-30 16:09:31 +02:00
Andrey Okonetchnikov 66ab661d4c chore(lint): Use lint-staged with standard --fix to run linter only on staged files. (#1519) 2017-03-30 04:51:11 +05:30
Dan Zajdband 7699cbe9df Add/readme example stateless lifecycle (#1558)
* Using developit/unfetch as the Fetch API polyfill

* Added a stateless component with getInitialProps in the readme.

* Fixed typo
2017-03-30 03:41:18 +05:30
greenkeeper[bot] 1aabe4bc01 fix(package): update babel-plugin-module-resolver to version 2.6.0 (#1549)
https://greenkeeper.io/
2017-03-30 03:26:58 +05:30
Dan Zajdband d5369c01a8 Fix/example instructions (#1559)
* Using developit/unfetch as the Fetch API polyfill

* Fixed layout component example instructions
2017-03-29 12:00:13 -03:00
я котик пур-пур aa4105e001 Add the system-ui font family (#1555) 2017-03-29 11:55:26 -03:00
Tomas Roos 6de2477564 Mobx leaks memory on server side (#1550)
* Added server.js to configure useStaticRendering on start

* Update package to use server.js

* auto format with standard instead of prettier :( fixes broken test
2017-03-29 17:24:46 +05:30
Izzy Vivian Dupree 6cd6c2ef74 readme: show how to npm run dev on another port. (#1544) 2017-03-28 22:27:21 +02:00
Tim Neutkens 769cb49c30 Fix serviceworker call on http (#1542) 2017-03-28 21:23:38 +02:00
Tim Neutkens c50c703d11 Update next init to reflect changes in 2.0 (#1543) 2017-03-28 21:20:18 +02:00
Mike Bannister 6ac6b992b0 Revive truncated text in readme (#1538) 2017-03-28 18:22:25 +02:00
Koji Ishimoto 5a11a86389 Add and update dependencies (#1531) 2017-03-28 08:22:46 +02:00
Arana Jhonny e9d0aeb2b2 remove extra semicolon. (#1520) 2017-03-27 20:01:40 +05:30
Arunoda Susiripala 296478b1cc Remove master vs README warnning 2017-03-27 19:53:25 +05:30
Guillermo Rauch 2e67041f7c Release 2.0.0 2017-03-27 03:01:42 -07:00
Guillermo Rauch 16956fede9 Release 2.0.0-beta.42 2017-03-26 23:20:42 -07:00
Arunoda Susiripala bb72e19190 Move all NPM modules into a single chunk in dev mode. (#1512)
This will isolate all the NPM modules into a single chunk.
That chunk won't touch by webpack unless, there's a new NPM module.
That gives us much better re-build performance.
2017-03-26 13:48:59 -07:00
Arunoda Susiripala fb1e828318 Wait until webpack updates before eval the JSON page. (#1511) 2017-03-26 13:38:55 -07:00
Guillermo Rauch 75028b6a8f Release 2.0.0-beta.41 2017-03-26 11:25:13 -07:00
Guillermo Rauch 50274959cb Revert "Move all NPM modules into a single chunk in dev mode. (#1505)"
This reverts commit a879f47f9a.
2017-03-26 11:24:58 -07:00
Guillermo Rauch 0a452ba3e4 Release 2.0.0-beta.40 2017-03-25 13:08:16 -07:00
Arunoda Susiripala a879f47f9a Move all NPM modules into a single chunk in dev mode. (#1505)
This will isolate all the NPM modules into a single chunk.
That chunk won't touch by webpack unless, there's a new NPM module.
That gives us much better re-build performance.
2017-03-25 10:26:08 -07:00
Dominik Sumer 85bcfb864e fixed zeit.co link in readme (#1497) 2017-03-25 01:20:56 +05:30
greenkeeper[bot] d0e1c92cb0 chore(package): update husky to version 0.13.3 (#1491)
https://greenkeeper.io/
2017-03-24 14:14:53 +01:00
David Ascher 84d4197a6d Add link (#1492) 2017-03-24 14:14:29 +01:00
Arunoda Susiripala 32af8294a7 Load the main JS bundle in production with async (#1485)
* Use a webpack plugin to combine assets.

* Add comments and make this releseable.

* Fix some typos.

* Fix some typos.
2017-03-24 13:21:34 +05:30
greenkeeper[bot] 377a614f04 chore(package): update babel-eslint to version 7.2.0 (#1468)
https://greenkeeper.io/
2017-03-23 20:43:27 +01:00
Arunoda Susiripala 97c472c0c8 Handle pages with no default export and show an error. (#1484)
That error is meaningful and easy to find the issue.
2017-03-23 09:40:22 +05:30
Arunoda Susiripala bc2d5f3bdb Show errored file always in the error overlay. (#1470)
This was not happening when there's module not found errors.
Now we try to do this for all the errors if possible.
2017-03-23 04:43:23 +05:30
greenkeeper[bot] d6b8a530ed chore(package): update babel-plugin-istanbul to version 4.1.1 (#1481)
https://greenkeeper.io/
2017-03-22 17:24:14 +01:00
greenkeeper[bot] fb8fbc401d fix(package): update webpack to version 2.3.1 (#1480)
https://greenkeeper.io/
2017-03-22 16:58:46 +01:00
greenkeeper[bot] 7abd0472a3 fix(package): update webpack to version 2.3.0 (#1475)
https://greenkeeper.io/
2017-03-22 08:12:00 +05:30
Penn Su b682267b50 Fix URL (#1467) 2017-03-21 09:40:09 +05:30
Arunoda Susiripala b2fabf0fe0 Load script with the defer attribute (#1437)
Load script with the defer attribute
2017-03-19 18:46:50 +05:30
Arunoda Susiripala ffade8d5ac Fix client error modal not showing in dev (HMR) (#1448)
* Fix HMR not working issue.
Our hot-reload code on the server has custom webpack error dectection logic.
Is supports only multi-modules entries.
So, we need to all entries as multi-module entries
even if there's just a single entry.

* Add a test case for showing errors over HMR.
2017-03-18 16:01:55 -07:00
greenkeeper[bot] 3837b75b8b fix(package): update source-map-support to version 0.4.14 (#1457)
https://greenkeeper.io/
2017-03-18 11:46:59 +01:00
Vlad Frolov 1a61133dd4 fix(example): Added missing instructions for CSS "bundling" in with-react-md example (#1451) (#1456) 2017-03-18 11:45:48 +01:00
greenkeeper[bot] 930736fa3b chore(package): update standard to version 9.0.2 (#1453)
https://greenkeeper.io/
2017-03-18 08:32:37 +01:00
Guillermo Rauch 59433fc88e Release 2.0.0-beta.39 2017-03-16 13:09:37 -07:00
greenkeeper[bot] 1675ad1e75 fix(package): update loader-utils to version 1.1.0 (#1442)
https://greenkeeper.io/
2017-03-16 19:18:25 +01:00
greenkeeper[bot] 7278a7ec66 chore(package): update node-notifier to version 5.1.2 (#1441)
https://greenkeeper.io/
2017-03-16 13:49:15 +01:00
greenkeeper[bot] 4fa6276e7d fix(package): update babel-loader to version 6.4.1 (#1439)
https://greenkeeper.io/
2017-03-16 17:30:01 +05:30