Arunoda Susiripala
b89b05bc76
Release 4.2.2
2018-01-13 10:38:32 +05:30
Arunoda Susiripala
0b6575b470
Use our static file rendering machanism to serve pages.
...
This should work well since the file path for a page is predictable.
2018-01-13 10:36:50 +05:30
Cory House
b5739d5361
Grammar fixes ( #3531 )
2018-01-03 14:06:45 +01:00
Abdulhalim Kara
69aa647535
Update withData.js ( #3458 )
...
#3234
2017-12-18 11:27:16 +01:00
Tim Neutkens
67643e255a
Release 4.2.1
2017-12-08 14:58:21 -08:00
Tim Neutkens
66e3a6c5ea
Remove webpack-stats.json
2017-12-08 14:42:39 -08:00
Ramin B
5a5b3b6702
Downgrade strip-ansi to support IE11/Google Fetch ( #3403 )
...
A few discussions:
https://github.com/zeit/next.js/issues/2747
https://github.com/zeit/next.js/issues/3126
# Conflicts:
# package.json
2017-12-08 14:40:17 -08:00
Tim Neutkens
51f120ec70
Add markdown-in-js example ( #3410 )
2017-12-06 18:20:38 -08:00
Arunoda Susiripala
03507501cd
Release 4.2.0
2017-12-04 15:30:14 -08:00
Arunoda Susiripala
820e3ff716
Always load pages with ".js" extension ( #3393 )
...
* Always fetch pages with '.js' extention from client side.
* Load error page always from _error.js rather _error/index.js
* Load pages from page.js instead of page/index.js from the client for static exports.
* Update index.js
* Simplify the path re-write logic in the webpack pages-plugin.
2017-12-05 04:49:53 +05:30
Dan Argue
a8c344fa19
Add with-mobx-state-tree example ( #3179 )
...
* Adapt with-mobx example for with-mobx-state-tree
* Remove unnecessary lastUpdate parameter to show off snapshot
* update readme
* make other.js more closely mimic index.js
2017-11-23 13:41:59 +01:00
Brice BERNARD
bda073cfc1
Remove next.d.ts to use @types/next ( #3297 )
2017-11-16 12:28:10 +01:00
yashha
a0e0f851c2
Pulled encoding to top of head ( #3214 )
2017-11-16 11:54:36 +01:00
Divyendu Singh
ccb188ab6b
Update withData.js - support withRouter HOC ( #3286 )
...
Add support for using withRouter as HOC with this example.
Passing router context manually fixes this, based on, https://github.com/zeit/next.js/issues/2908#issuecomment-338244804
2017-11-15 10:44:06 +01:00
Tomek
5260736e33
example with-redux-observable ( #3272 )
...
* example with-redux-observable
* fix styling with js standard-style
2017-11-13 20:37:43 +01:00
Brice BERNARD
45e26f22b3
Fix tsx workaround, bootstrap next.d.ts, add tslint deps ( #2885 )
2017-11-13 13:59:00 +01:00
Leo Lamprecht
7ee66def32
Stable-specific Travis CI config
...
https://leo.im/2017/canary
2017-11-06 10:45:25 +01:00
Andy Kenward
8bb31f0960
fix : example/with-noscript to use next@latest and react-dom ( #3237 )
...
* example with-noscript use next@latest
* fix : example/with-noscript react-dom/server usage
Since the update to react ^16.0.0 react-dom import location has changed
2017-11-04 11:25:39 +01:00
Andy Kenward
c29ec6bdd0
example/with-static-export update react & next dependencies ( #3238 )
...
`next@latest` instead of beta
react 16
2017-11-04 11:24:54 +01:00
Kitti Piyapan
28767c06d1
Change file name lib on example keep the same format ( #3227 )
...
Change file name format on folder lib like /examples/with-apollo and /examples/with-apollo-and-redux
2017-11-02 17:56:14 +01:00
Thongchai Kitiyanantawong
ba740460c8
Add more example links for CSS preprocessor solution ( #3213 )
...
* Add more example link for CSS preprocessor solution
* Change deprecated link
2017-10-31 08:58:50 +01:00
Kevin Decker
6e44cdef5f
Expose mechanism to monitor render events ( #2655 )
...
* Allow custom clientBootstrap entrypoint
This allows for customization of the client global bootstrap.
* Expose render event emitter to client
* Include client entry point in npm package
2017-10-30 16:01:40 +01:00
Kevin Decker
1e15105837
Output webpack build stats as webpack-stats.json ( #2828 )
2017-10-30 15:55:44 +01:00
Tim Neutkens
c927c4f1ce
Release 4.1.4
2017-10-29 01:00:16 +02:00
Tim Neutkens
0bdcb8ddc2
Add note about NODE_ENV being set automatically
2017-10-29 00:58:18 +02:00
Tim Neutkens
01780fe789
Make sure NODE_ENV is production for react-dom to optimize
2017-10-29 00:58:17 +02:00
Ismael Martínez
015d06a331
Upgrade React for examples with next@latest ( #3196 )
2017-10-29 00:58:17 +02:00
Remy Sharp
8578038daa
Change _error.js example to use err
prop ( #3197 )
...
The `jsonPageRes` isn't always there, whereas `err` is, and when used,
provides a consistent statusCode in the client when compared to the
server.
2017-10-29 00:58:17 +02:00
Sebastian
741f211331
with-apollo example using Apollo 2 ( #3180 )
...
* Updated dependencies related to Apollo and React.
* Updated libs with Apollo 2 new set of modules.
* Updated to Apollo 2 react integration modules.
* Updated withData to separate apollo state from the app's state.
2017-10-29 00:58:17 +02:00
m-allanson
b937ed3644
Remove extra word ( #3193 )
2017-10-29 00:58:17 +02:00
Wes Bos
4314802422
Update styled components for React 16 ( #3187 )
...
Next 4 only works with React 16, so for this example to work we need an update.
2017-10-29 00:58:17 +02:00
Tim Neutkens
436a2ac73b
Release 4.1.4-canary.2
2017-10-29 00:58:17 +02:00
Tim Neutkens
1f899d6b60
Update deploy keys
2017-10-29 00:58:17 +02:00
Tim Neutkens
cd7bfe890d
Release 4.1.4-canary.1
2017-10-29 00:58:17 +02:00
Arunoda Susiripala
a9ccf1e147
Make sure benchmark runs in the production mode.
2017-10-29 04:25:32 +05:30
Shu Uesugi
9320d9f006
Add with-global-stylesheet-simple ( #3157 )
...
* Add with-global-stylesheet-simple
* Lint fix
2017-10-23 20:25:16 +02:00
Tim Neutkens
ef157d97a7
Add auto-publishing of new tags ( #3100 )
...
* Add auto-publishing of new tags
* Fix paste
* Valid json
* Remove now installation
2017-10-23 20:25:00 +02:00
Ismael Martínez
8c60a2e35d
Fix with-amp example ( #3153 )
...
React v16 supports invalid DOM attributes now.
ReactInjection and DOMProperty throws an error.
Reference: #3152
2017-10-23 14:37:45 +02:00
Ismael Martínez
e5c46c2632
Update React on with-socket.io example ( #3151 )
...
Next.js v4 requires React v16.
2017-10-23 11:23:50 +02:00
Tim Neutkens
03324880a8
Add asPath on the server ( #3149 )
...
* Add asPath on the server
* Make sure we don’t include `?` when there is no query
2017-10-22 12:00:31 -07:00
Tim Neutkens
40bb56e892
Fix styled-jsx test ( #3147 )
...
* Fix styled-jsx test
* Make sure the test passes
2017-10-22 18:29:58 +02:00
Tim Neutkens
9805231cf9
Release 4.1.3
2017-10-22 11:16:35 +02:00
Tim Neutkens
8e55adf4ec
Render error as errorHtml ( #3142 )
2017-10-21 16:47:55 -07:00
Hans Trautlein
4d2ea0ce80
"download" to "downloads" when subject is singular ( #3140 )
2017-10-21 16:59:16 +02:00
Tim Neutkens
a28bbb0ff9
Strip ansi codes when logging client side ( #3138 )
2017-10-21 12:58:59 +02:00
Jerome Fitzgerald
89691cbe0c
[chore] Examples: styled-jsx-plugin-sass@0.2.0, show dynamic ( #3137 )
...
* [chore] styled-jsx-plugin-sass@0.2.0, show dynamic
styled-jsx-plugin-sass had an update that now allows for sass and
dynamic to live together.
This updates that package and updates the example slightly to show how.
* [fix] errant space in styled-jsx-scss example
2017-10-20 19:29:02 +02:00
Tim Neutkens
a2a83236f0
Release 4.1.2
2017-10-20 08:06:38 +02:00
Tim Neutkens
1cc3dbe35b
Revert "Sourcemap and Breakpoint Fixes ( #3121 )"
...
This reverts commit 964f229f98
.
2017-10-20 08:02:04 +02:00
Tim Neutkens
81479eb601
Update yarn.lock
2017-10-19 23:49:09 +02:00
Tim Neutkens
586b871a43
Release 4.1.1
2017-10-19 22:18:52 +02:00