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

1806 commits

Author SHA1 Message Date
Sergio Xalambrí 8b507a7943 Example: Add asset imports example () 2017-09-08 23:21:06 +02:00
Andrey Marchenko b66490835c Corrected dependencies for preact and inferno ()
* Corrected dependencies for the preact example. Require react and react-dom

* Corrected dependencies for the inferno example. Require react and react-dom
2017-09-08 23:15:03 +02:00
starriv ace748dcfe More elegant application of antd ()
* Update .babelrc

* Create index.js

* Update index.js

* Update index.js

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Fix linting errors
2017-09-08 23:13:52 +02:00
Arunoda Susiripala aa09625744 3.2.2 2017-09-08 23:46:18 +05:30
Tim Neutkens 6e88780419 Add missing variables () 2017-09-05 21:43:31 +02:00
Kent C. Dodds 32c3dd0476 docs(jest): add note about .babelrc ()
Closes 
2017-09-05 18:27:17 +02:00
Kevin Decker 5c67fd6811 Do not mutate browser source map object ()
Fixes regression caused by 
2017-09-04 20:27:19 +02:00
Sergio Xalambrí e13bb3f62f Example: hashed statics ()
* Add hashed statics example

* Fix linting
2017-09-02 00:35:45 +02:00
Brikou CARRE 2e09f79d4d Mark href propType as required () 2017-09-01 20:57:13 +02:00
Brikou CARRE 32d9b75d55 Use https to prevent mixed content when served over https () 2017-09-01 11:54:03 +05:30
Brikou CARRE a779d830bd Rename withRoute to withRouter to be consistent () 2017-08-31 21:37:20 +02:00
Arunoda Susiripala 03294bb25e 3.2.1 2017-08-31 05:50:45 +05:30
Arunoda Susiripala 8f874f050c [WIP] Use buildId in chunk urls as well ()
Use buildId in chunk urls as well
2017-08-31 05:47:06 +05:30
Sergio Xalambrí fd198d28a8 Example: with absolute imports ()
* Add with-absolute-imports example

* Fix examples repo urls to point to master instead of v3-beta
2017-08-30 20:03:36 +02:00
Matteo Mazzarolo a142848ef5 Added side note about enabling gzip on Koa ()
I'll share this small snippet here, it might be useful.
2017-08-30 17:45:28 +02:00
Arunoda Susiripala 99c4798ff1 3.2.0 2017-08-30 19:47:54 +05:30
Arunoda Susiripala 56662b4d84 Add/with router ()
* Add withRoute HOC

Rebased (squashed)
- removed routerToProps
- updated hoist-non-react-statics
- improved propTypes

* Expose the whole Router instead of the route.

* Make the example simple.

* Update examples and the readme.

* Add a test case.
2017-08-30 19:37:12 +05:30
Kevin Decker d600957aeb Add node trace source map handling in dev mode ()
* Add node trace source map handling in dev mode

Fixes 

* Fix typo in comment
2017-08-30 16:19:40 +05:30
Arunoda Susiripala 4ee0dc90d8 3.1.0 2017-08-30 16:00:23 +05:30
Jan-Philipp Willem 9cce984834 Downgrade strip-ansi to 3.0.1 ()
See: https://github.com/facebookincubator/create-react-app/pull/2692
2017-08-28 18:48:10 +02:00
Leon Daniel Thorne d2276179be Describe solution to centralized routing ()
* Add section for Centralized Routing

* Update title of section

* Update formatting

* Remove solution from README and link to it from FAQ
2017-08-28 12:21:08 +05:30
Tim Neutkens eba9ebef5f Merge v3-beta into master ()
* Add examples/with-redux-code-splitting. ()

*  Relay Modern Example ()

* Add ReasonML example ()

* Add ReasonML example

* Add a gitignore specifically for the reasonml example

* Allow custom className for <Main /> ()

* 3.0.2

* Remove beta information from the README.

* 3.0.3

* Remove unnecessary lookup in example with emotion ()

* Document SCSS/Less ()

* Document SCSS/Less

* Add missing word

* Add docs for examples dir

* Add extra example

* uppercase J

* Add with pkg example ()

* Add custom server micro example ()

* Ease running multiple examples at the same time with process.env.PORT ()

* Add line-height rule for error page h2 ()

* Add support for fetching multiple translation files ()

* Add support for fetching multiple translation files

* Cleanup

* Clear missed interval ()

* clear missed interval

* remove trailing whitespace

* Relay Modern Example () ()

* Simplification of Relay Modern Example () ()

* Use deterministic names for dynamic import ()

* Always use the same name for the same dynamic import.

* Add unit tests for the modulePath generation.

* Allow tests to run correctly on Windows.

* Make the chunk name a bit pretty.

* Fix tests to run on Windows.

* 3.0.4

* Revert "Make the chunk name a bit pretty." ()

This reverts commit 0c9e8cf2271955e74ab9f752b5869b98c1dc60f9.

* 3.0.5

* Use _ as the divider for dynamic import name splitter. ()

Using - gives us some weird webpack errors.

* 3.0.6

* next/dynamic Error Message Tweaks ()

* Fixed issue ()

https://github.com/zeit/next.js/issues/2800

* docs(material-ui): move the source code to Material-UI repository ()
2017-08-27 22:13:35 +02:00
Julian Wilson b543795fc0 Clarify usage of connect in README.md ()
Added a quick example of how to use `connect` in `react-redux` as there are no examples in this example.
2017-08-27 20:56:52 +02:00
Tim Neutkens 75a43f5a71 Make sure we do not expose stacktraces in production () 2017-08-25 02:47:38 +05:30
Jimmy Moon 26c5d90b2f Separate next init () () 2017-08-24 22:50:09 +02:00
Matija Marohnić 3c92524b06 Update example with emotion ()
* Update example with emotion

Emotion is now split into separate packages using Lerna.

* Update Next.js in emotion example
2017-08-24 08:27:49 +02:00
Dustin Senos 50866c234c Updated console.log wording when the PageLoader is waiting for webpack to become idle. () 2017-08-23 22:06:11 +02:00
Jay Cheroske 9c18c548bb Pass an HOC to renderPage() ()
* Added passing an HOC to renderPage()

* Remove gitignore
2017-08-21 23:15:14 +02:00
Brikou CARRE c689bc9f8b Simplify condition in mobx example () 2017-08-19 18:02:40 +02:00
Leo Lamprecht 18e447afc5 Linked post about Next.js + Electron 2017-08-19 16:37:09 +02:00
Olivier Tassinari 232ba01f84 docs(material-ui): move the source code to Material-UI repository () 2017-08-18 22:42:45 +02:00
Penn Su ccc9ff2201 Fixed issue ()
https://github.com/zeit/next.js/issues/2800
2017-08-18 18:46:30 +02:00
Ian Mitchell 72edd591e6 next/dynamic Error Message Tweaks () 2017-08-17 21:41:52 +05:30
Arunoda Susiripala c692101649 3.0.6 2017-08-17 02:26:18 +05:30
Arunoda Susiripala a730b04df7 Use _ as the divider for dynamic import name splitter. ()
Using - gives us some weird webpack errors.
2017-08-17 02:25:27 +05:30
Arunoda Susiripala eafa2c676d 3.0.5 2017-08-17 00:29:09 +05:30
Arunoda Susiripala ddff22c0d3 Revert "Make the chunk name a bit pretty." ()
This reverts commit 0c9e8cf2271955e74ab9f752b5869b98c1dc60f9.
2017-08-17 00:28:30 +05:30
Arunoda Susiripala 265296c7dd 3.0.4 2017-08-16 22:45:52 +05:30
Arunoda Susiripala 68738d1c90 Use deterministic names for dynamic import ()
* Always use the same name for the same dynamic import.

* Add unit tests for the modulePath generation.

* Allow tests to run correctly on Windows.

* Make the chunk name a bit pretty.

* Fix tests to run on Windows.
2017-08-16 22:44:00 +05:30
Petr Vlček ed0c144af9 Simplification of Relay Modern Example () () 2017-08-15 07:50:56 +02:00
Petr Vlček 708193d227 Relay Modern Example () () 2017-08-14 18:41:12 +02:00
Denis Lukov 6285cdedf2 Set action type instead of string () 2017-08-13 15:46:20 +02:00
Denis Lukov 726499ff14 Clear missed interval ()
* clear missed interval

* remove trailing whitespace
2017-08-13 15:44:14 +02:00
whphhg 8acdae66d7 Add support for fetching multiple translation files ()
* Add support for fetching multiple translation files

* Cleanup
2017-08-13 02:28:20 +02:00
Seth Mcleod 7a5a6bcef2 Add line-height rule for error page h2 () 2017-08-12 06:40:07 +02:00
Brikou CARRE ba65b07dff Ease running multiple examples at the same time with process.env.PORT () 2017-08-10 20:15:46 +02:00
Sergio Xalambrí d0b95d9bda Add custom server micro example () 2017-08-10 08:07:00 +02:00
Sergio Xalambrí cc5289a89f Add with pkg example () 2017-08-10 08:06:14 +02:00
Tim Neutkens 62b246d902 Document SCSS/Less ()
* Document SCSS/Less

* Add missing word

* Add docs for examples dir

* Add extra example

* uppercase J
2017-08-09 21:44:37 +02:00
Matija Marohnić 029bac4fd9 Remove unnecessary lookup in example with emotion () 2017-08-09 17:26:45 +02:00