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

990 commits

Author SHA1 Message Date
Arunoda Susiripala f578089d05 Fix page loader page normalization issue (#1844)
* Add integration tests for nested componentDidMount

* Fix the page loader normalization issue.

* Fix a typo in the url.
2017-05-01 16:26:18 -07:00
spencer 2e7bc1074d Update to examples: with-redux (updated) (#1813)
* With-Redux-example-update-request

Hello Next.js,

I’ve added an additional example to “With-Redux” and updated some of
the original code to help illustrate to less inexperienced developers
how to implement Redux with Next.js.

The example is a simple counter to help reinforce how the client and
server renderings work together. In addition I also updated some of the
redux boilerplate code to help fully demonstrate how redux can be
implemented when using is with Next.js

Please contact me at spencer.bigum@gmail.com for further questions or
anything else you might need.

Thanks,
Spencer

* fixed listing issues: examples/with-redux

* Updated code based on @impronunciable Feedback
2017-04-30 17:44:24 -03:00
greenkeeper[bot] 8fb6a03e48 fix(package): update babel-plugin-transform-react-remove-prop-types to version 0.4.2 (#1810)
https://greenkeeper.io/
2017-04-30 07:35:19 -07:00
Átila Fassina c9d0670362 with-i18next example (#1496)
* examples/with-i18next: create folder and initial settings

* examples/with-i18next:abstract url and object keys - finish readme

* examples/with-i18next: next@beta is not actually necessary

* examples/with-it18next: fix standardjs eslint warnings

* examples/with-i18next: review updates
2017-04-30 07:35:07 -07:00
greenkeeper[bot] 1f642dceda fix(package): update source-map-support to version 0.4.15 (#1826)
https://greenkeeper.io/
2017-04-30 07:32:00 -07:00
greenkeeper[bot] 208b3199cb chore(package): update coveralls to version 2.13.1 (#1822)
https://greenkeeper.io/
2017-04-30 07:31:51 -07:00
greenkeeper[bot] fc0302afb5 chore(package): update babel-plugin-istanbul to version 4.1.3 (#1829)
https://greenkeeper.io/
2017-04-30 07:31:35 -07:00
greenkeeper[bot] fa45cb8aa2 chore(package): update nyc to version 10.3.0 (#1830)
https://greenkeeper.io/
2017-04-30 07:31:15 -07:00
Craig Ramey 8d59de4d7a example curl pointed to with-styled-components, supposed to be with-flow (#1832) 2017-04-30 07:31:03 -07:00
Brendan Houle 03bfaecf49 Add root static files example (#1835) 2017-04-30 07:30:29 -07:00
Arana Jhonny 25dbcce60b fix #1833, update all examples. (#1834) 2017-04-30 07:29:37 -07:00
Craig Mulligan a903503d41 Update readme.md (#1818) 2017-04-27 18:51:50 +05:30
Colder Xihk b52b91a840 fix typo in with-material-ui readme (#1797) 2017-04-26 13:27:37 +02:00
Ben Hadfield 0210540b8f Fixed typo in README (#1784)
In Shallow Routing, the line `Since that's a new page, it'll unload the current page, load the new one and call `getInitialProps` even we asked to do shallow routing.` is missing the word `though`.
2017-04-26 13:24:46 +02:00
greenkeeper[bot] 58397a66c2 fix(package): update send to version 0.15.2 (#1807)
https://greenkeeper.io/
2017-04-26 13:24:09 +02:00
Arunoda Susiripala 84d00ad14d Always send an error to client if there is. (#1800)
In the production, we need to send a dummy error.
2017-04-25 09:45:58 +05:30
Arunoda Susiripala da775f2e11 Fix error pages' cdn cache issue. (#1794)
We do this by providing some headers mentioning not to cache.
2017-04-24 13:48:34 -07:00
Guillermo Rauch ff0f1e6c72 Release 2.2.0 2017-04-23 12:41:26 -07:00
Guillermo Rauch ae983c6e3f update lockfile 2017-04-23 12:35:56 -07:00
Paul Molluzzo 1eeb8820bb Add deply now buttons to with-firebase, with-material-ui, with-socket.io (#1779) 2017-04-22 15:37:04 +02:00
greenkeeper[bot] f94b927fd6 chore(package): update babel-preset-es2015 to version 6.24.1 (#1661)
https://greenkeeper.io/
2017-04-22 15:17:05 +02:00
Daniel Steigerwald 2a14d32235 Fix Fela example (#1663)
* Fix Fela example

Styles must be set via the innerHTML. Otherwise, a fontFamily "Segoe
UI” will have encoded quotes.

* Add example

Which didn’t work previously.

* Fix lint
2017-04-22 15:09:35 +02:00
greenkeeper[bot] 85342002e8 fix(package): update babel-plugin-transform-es2015-modules-commonjs to version 6.24.1 (#1668)
https://greenkeeper.io/
2017-04-22 15:09:07 +02:00
Kuan fb0b7534d7 Update isLocal logic to enforce protocol and port (#1737) 2017-04-22 15:07:36 +02:00
greenkeeper[bot] 9ed387ad26 fix(package): update babel-preset-react to version 6.24.1 (#1670)
https://greenkeeper.io/
2017-04-22 15:05:21 +02:00
greenkeeper[bot] d1d341b1c5 fix(package): update babel-plugin-transform-class-properties to version 6.24.1 (#1671)
https://greenkeeper.io/
2017-04-22 15:04:24 +02:00
greenkeeper[bot] 3cc3da1793 fix(package): update babel-generator to version 6.24.1 (#1665)
https://greenkeeper.io/
2017-04-22 15:03:53 +02:00
greenkeeper[bot] ceae4173db fix(package): update write-file-webpack-plugin to version 4.0.2 (#1729)
https://greenkeeper.io/
2017-04-22 15:01:51 +02:00
greenkeeper[bot] 384053e80e fix(package): update babel-plugin-transform-react-remove-prop-types to version 0.4.1 (#1738)
https://greenkeeper.io/
2017-04-22 15:01:46 +02:00
greenkeeper[bot] caaa153132 fix(package): update webpack to version 2.4.0 (#1719)
https://greenkeeper.io/
2017-04-22 15:01:16 +02:00
greenkeeper[bot] 68f568b0fc fix(package): update mitt to version 1.1.1 (#1726)
https://greenkeeper.io/
2017-04-22 14:59:30 +02:00
greenkeeper[bot] 1f09c7b004 fix(package): update webpack-dev-middleware to version 1.10.2 (#1778)
https://greenkeeper.io/
2017-04-22 14:59:14 +02:00
David Gómez 4f1ba6ac78 Add wallaby.js support (#1742) 2017-04-22 14:58:12 +02:00
Sébastien Dubois 612f06b7cf Document skipping cache for babel-loader + setting env at runtime (#1747) 2017-04-22 14:57:09 +02:00
captDaylight 06baed2fe8 820 firebase (#1756)
* connecting to firebase

* login and logout with sessions

*  setting messages on the client side

* should have messages served on init

* set messages in state

* updating credentials

* updating readme

* more cred

* iron out eslint issues

* highlight where to put firebase variables

* fix problem of database listener not picking up changes on load

* remove isomorphic from main package.json
2017-04-22 14:56:28 +02:00
Dan Zajdband bbb8ff75a5 Add/semantic ui example (#1753)
* Using developit/unfetch as the Fetch API polyfill

* Added Semantic UI React example

* Fixed linting issues
2017-04-22 14:54:35 +02:00
Sergio Daniel Xalambrí 1bb20b1930 Add socket.io example (#1766)
* Add socket.io example

* [update] stop handling events before unmount

* [update] add deploy to now button

* Fix linting problems

* Fix last missing linting problem
2017-04-22 14:53:48 +02:00
Ernesto Palafox ce0a2f7b13 Add Material-UI example (#1771)
* Add Material-UI example

* Fix linting on material-ui example
2017-04-22 14:52:49 +02:00
Paul Molluzzo d08e027a8c Add deploy now button to the top of all example READMEs (#1763)
* Add deploy now button to the top of all example READMEs

* Remove unnecessary whitespace changes
2017-04-22 14:51:51 +02:00
Ernesto Palafox ba5601f6da Fix dependencies install error on 'with-url-object-routing' example (#1764) 2017-04-22 14:48:09 +02:00
Arunoda Susiripala ea77b41570 Use babel-loader 7 beta. (#1495)
* Use babel-loader 7 beta.
This will get rid of the DeprecationWarning printed while
starting next.
Also this is the version recommened to use with Webpack 2.

* Update to the babel-loader-7
2017-04-22 07:18:53 +05:30
greenkeeper[bot] b629490469 chore(package): update babel-eslint to version 7.2.3 (#1775)
https://greenkeeper.io/
2017-04-22 06:57:37 +05:30
Dan Zajdband 865263d24a Fix/amp example (#1755)
* Using developit/unfetch as the Fetch API polyfill

* Fixed amp example checking if the amp attribute is already present

* Fix lint
2017-04-19 11:59:04 +02:00
Arunoda Susiripala f82e52935d Implement ETag support for server rendered pages. (#1693) 2017-04-18 21:15:42 +05:30
Arunoda Susiripala e0f71d8448 Use babel-preset-env instead of babel-preset-latest. (#1701)
Here we don't use the full capabilities of babel-preset-env.
But it's recommended to use it without browser configs as
a substitute for babel-preset-latest.
That's why we did this.
2017-04-18 19:28:34 +05:30
Arunoda Susiripala b3f15f8d5c Fix a typo. (#1749) 2017-04-18 19:14:26 +05:30
Arunoda Susiripala dec85fe6c4 Add CDN support with assetPrefix (#1700)
* Introduce script tag based page loading system.

* Call ensurePage only in the dev mode.

* Implement router using the page-loader.

* Fix a typo and remove unwanted code.

* Fix some issues related to rendering.

* Fix production tests.

* Fix ondemand test cases.

* Fix unit tests.

* Get rid of eval completely.

* Remove all the inline code.

* Remove the json-pages plugin.

* Rename NEXT_PAGE_LOADER into __NEXT_PAGE_LOADER__

* Rename NEXT_LOADED_PAGES into __NEXT_LOADED_PAGES__

* Remove some unwanted code.

* Load everything async.

* Remove lib/eval-script.js
We no longer need it.

* Move webpack idle wait code to the page-loader.
Because that's the place to do it.

* Remove pageNotFound key from the error.

* Remove unused error field 'buildError'

* Add much better logic to normalize routes.

* Get rid of mitt.

* Introduce a better way to register pages.

* Came back to the mitt() based page-loader.

* Add link rel=preload support.

* Add assetPrefix support to add support for CDNs.

* Add assetPrefix support for preload links.

* Update readme.md
2017-04-17 21:18:43 -07:00
Xavier Brown bdc30bc089 Update readme.md (#1741)
The link element in the example code didn't end its first bracket before <a>
2017-04-17 09:00:12 +05:30
Orlin M Bozhinov b46502f8f1 corrected css pre-processing #readme link (#1709) 2017-04-14 17:54:55 -03:00
greenkeeper[bot] b32f5e3814 fix(package): update babel-plugin-transform-react-remove-prop-types to version 0.4.0 (#1713)
https://greenkeeper.io/
2017-04-14 02:53:52 +05:30