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

1184 commits

Author SHA1 Message Date
Arunoda Susiripala 65a2603917 Rename NEXT_LOADED_PAGES into __NEXT_LOADED_PAGES__ 2017-04-06 10:58:04 +05:30
Arunoda Susiripala 32cdf3f2d0 Rename NEXT_PAGE_LOADER into __NEXT_PAGE_LOADER__ 2017-04-06 10:56:13 +05:30
Arunoda Susiripala 5aa02d0727 Remove the json-pages plugin. 2017-04-06 10:33:11 +05:30
Paul Molluzzo 12a7610d9a Add example using glamorous 💄 (#1620)
* Add example using glamorous 💄

* Fix linting errors

* Fix FOUC with server rendering and rehydration

* Camelcase CSS property names

* Fix title in README

* Fix typo in README
2017-04-05 17:54:42 -07:00
Vinay Puppal 897ff6c010 fix typo in with-universal-configuration example (#1628) 2017-04-05 17:54:00 -07:00
Arunoda Susiripala 76bfc38a09 Remove all the inline code. 2017-04-05 17:13:34 +05:30
Robin Millette 8c19286a4d Add glob dependency (glob-promise peer). (#1624) 2017-04-05 09:22:32 +02:00
Arunoda Susiripala 822a99b0d5 Get rid of eval completely. 2017-04-05 12:15:39 +05:30
Arunoda Susiripala 57e3a67f62 Fix unit tests. 2017-04-05 08:46:48 +05:30
Arunoda Susiripala 6f65a053a8 Fix ondemand test cases. 2017-04-05 08:21:20 +05:30
Arunoda Susiripala a1f11a4660 Fix production tests. 2017-04-05 08:18:15 +05:30
Arunoda Susiripala 03209d88fd Fix some issues related to rendering. 2017-04-05 02:38:38 +05:30
Arunoda Susiripala e3d68ff401 Fix a typo and remove unwanted code. 2017-04-05 02:05:25 +05:30
Arunoda Susiripala c95d2b28d0 Implement router using the page-loader. 2017-04-05 01:25:56 +05:30
greenkeeper[bot] ee91726d75 fix(package): update webpack-hot-middleware to version 2.18.0 (#1586)
https://greenkeeper.io/
2017-04-03 19:49:22 -07:00
Arunoda Susiripala 8938843025 Call ensurePage only in the dev mode. 2017-04-03 23:44:42 +05:30
Arunoda Susiripala a0945c7800 Introduce script tag based page loading system. 2017-04-03 23:40:24 +05:30
greenkeeper[bot] 1e88331baf fix(package): update webpack to version 2.3.3 (#1604)
https://greenkeeper.io/
2017-04-03 18:37:14 +05:30
Alexander Ryzhikov d10d80ce3c Fix react-helmet example missing initial props (#1598)
* Fix react-helmet example missing initial props

* Fix semicolon
2017-04-03 09:51:26 +05:30
Tim Neutkens 7f0591896a Use latest version of Next for all examples (#1597)
* Use latest for all examples

* Update yarn.lock
2017-04-03 09:46:35 +05:30
Kevin Donahue f9aa7bdbc1 Fix typo in signal message on process close event (#1601) 2017-04-03 09:19:29 +05:30
Kevin Donahue 191d65889b Fix typo in Shallow Routing doc (#1593) 2017-04-02 09:28:39 +02:00
Arunoda Susiripala 5fcb49632e Introduce better debug error handling (#1592)
* Introduce better debug error handling
With this we are rendering runtime and debug errors inside
a it's own error root.
That gives us better error handling and control.
Also, now we are patching React core to capture runtime errors.

* Render the initial error on the server.
2017-04-01 14:03:40 -07:00
Arunoda Susiripala 87ff667e6e Revert "Introduce better debug error handling (#1590)" (#1591)
This reverts commit 0bdd321654.
2017-04-01 13:23:09 -07:00
Arunoda Susiripala 0bdd321654 Introduce better debug error handling (#1590)
With this we are rendering runtime and debug errors inside
a it's own error root.
That gives us better error handling and control.
Also, now we are patching React core to capture runtime errors.
2017-04-01 13:09:16 -07:00
greenkeeper[bot] b176f33142 fix(package): update babel-plugin-module-resolver to version 2.6.2 (#1571)
https://greenkeeper.io/
2017-03-31 18:10:42 -07:00
greenkeeper[bot] 407f8b66e5 fix(package): update webpack to version 2.3.2 (#1502)
https://greenkeeper.io/
2017-04-01 00:51:14 +02:00
greenkeeper[bot] ce78c9654d chore(package): update cross-env to version 4.0.0 (#1572)
https://greenkeeper.io/
2017-04-01 00:50:23 +02:00
greenkeeper[bot] b298460331 fix(package): update case-sensitive-paths-webpack-plugin to version 2.0.0 (#1581)
https://greenkeeper.io/
2017-03-31 15:15:54 -07:00
jwalter 9393440402 Remove babelrc from preact example doc (#1583)
The mentioned .babelrc usage is not needed for using preact with Next anymore. The actual code change was merged in (#1194)
2017-03-31 15:15:28 -07:00
Arunoda Susiripala 6ab3e6606d Add test cases for getInitialProps based redirect logic. (#1578)
With that, we are making sure we don't break this
functionality in the future.
2017-03-31 11:35:45 -03:00
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