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

1609 commits

Author SHA1 Message Date
Arunoda Susiripala 89d4e0af4a Only use Node 6 as the testing Node.js version. (#2609)
It's safe to use this as we don't use any platform specific Node.js features.
2017-07-20 22:19:32 +05:30
Arunoda Susiripala 61ffc6da7f Change next/link proptypes to support the API. (#2607)
Add propTypes for replace and object support for href and as.
2017-07-20 21:54:04 +05:30
Arunoda Susiripala 4833e2ffb5 [WIP] Add more HMR test cases (#2599)
Add more HMR test cases
2017-07-20 21:30:45 +05:30
Arunoda Susiripala 3a2fdbec65 3.0.1-beta.17 2017-07-18 13:03:04 +05:30
Arunoda Susiripala 8ee024fd2d Reload the page only if the change is for the current page. (#2589)
Sometimes, we've to reload the page for some changes.
Even if so, we need to do it if that change is for the current page.
2017-07-18 13:00:25 +05:30
Arunoda Susiripala c97aca50e5 Show webpack errors in all pages. (#2588)
* Show webpack errors in all pages.
When there's a webpack error that means HMR failed too.
So, showing other pages won't makes sense since user
can't edit them and get changes via HMR.
That's why now we show the error on all pages.

* Remove exact propType checks from the error component.
When there's an error, something this check shows in the console.
That means it could accept more props.
Also this is not a public API. So, we don't want to do propType checks.
2017-07-18 12:30:23 +05:30
Micooz Lee 24a67ee967 examples/with-react-helmet: upgrade react-helmet to v5.1.3 and fix invariant violation caused by bodyAttributes (#2587) 2017-07-18 08:03:21 +02:00
Arunoda Susiripala d831e6d39c Webpack's ModuleConcatenationPlugin plugin doesn't work well with HMR. (#2584)
So, now we only use it for production.
2017-07-17 22:16:39 +05:30
Arunoda Susiripala dba24dac9d 3.0.1-beta.16 2017-07-17 11:13:54 +05:30
Arunoda Susiripala 412389d64e Update yarn.lock 2017-07-17 11:13:28 +05:30
Arunoda Susiripala af7b875a18 Make sure module.context exist always (#2580)
Fixes #2578
2017-07-17 11:11:37 +05:30
Jayden Seric 1a02b0efa4 Added missing as propType to Link. (#2579)
This was causing the error “Failed prop type: Link: unknown props found: as in Link” when used with next-routes.
2017-07-17 10:42:36 +05:30
Jan Mühlemann e7d91bf692 adds with react-i18next example (#2558)
* adds with react-i18next example

* lint example code

* remove unneeded .babelrc
2017-07-16 22:19:45 +02:00
Arunoda Susiripala ed733dc14d 3.0.1-beta.15 2017-07-16 15:50:54 +05:30
Arunoda Susiripala b1b0b88945 Move react-dom into commons.js always. (#2572) 2017-07-16 15:48:21 +05:30
greenkeeper[bot] 99dd045d1c Update webpack to the latest version 🚀 (#2569) 2017-07-15 22:04:07 +02:00
Arunoda Susiripala 62a6247753 3.0.1-beta.14 2017-07-15 16:26:25 +05:30
Arunoda Susiripala f25055c9f7 Load the hot-reloader when only needed. (#2566)
This reduce the server boot-up time a lot.
With a 2015 MacBook Pro, it went down from 1000ms to 200ms
2017-07-15 18:29:10 +08:00
greenkeeper[bot] 20db38e21a Update webpack to the latest version 🚀 (#2537) 2017-07-15 09:32:55 +02:00
Matt 6ff89b1f52 Update with-emotion to flush SSR styles on refresh (#2565)
* Update with-emotion to flush SSR styles on refresh

* with-emtotion: remove @apply, use composes

* fix env determination
2017-07-15 09:32:14 +02:00
Jun Matsushita b47395ab2f Fix non valid trailing comma (#2560) 2017-07-15 09:08:08 +05:30
greenkeeper[bot] 62f7386808 Update wd to the latest version 🚀 (#2552) 2017-07-14 23:44:46 +02:00
Kent C. Dodds 96182bc180 add babel-macros example (#2563) 2017-07-14 23:22:25 +02:00
Ben Murden d727a6f082 Fix grammar in Router section. (#2555) 2017-07-14 07:38:06 +02:00
Brent Mealhouse 543f2854cb Add with-redux-saga example (#2551) 2017-07-13 20:55:29 +02:00
Nikolay Kolev b253479a94 Fix the build of with-material-ui-next (#2550) 2017-07-13 13:11:20 +02:00
Jure Triglav c9b4add394 Fix spelling of built-in (#2546) 2017-07-13 08:04:36 +02:00
Marie-Laure Thuret 94c484e80d docs: add algolia-react-instantsearch example (#2544)
* docs: add algolia-react-instantsearch example

* fix: style
2017-07-12 20:00:47 +02:00
Tobias Barth 24c2e9954a Add stringify advice to MobX example readme. (#2541) 2017-07-12 15:24:03 +02:00
Nguyen Hoang Phuc 530b561039 Add example for usage of redux + reselect + recompose (#2523)
* implemented example for using redux with reselect and recompose

* removed unused package

* fixed linting issue

* fixed linting issue
2017-07-11 20:17:00 +02:00
Kevin Decker bd24e74a98 Support webpack harmony modules in self accept (#2510) 2017-07-10 10:10:32 +05:30
Cody Brunner d7d4b7c332 Updated formate in issue_template. (#2521) 2017-07-09 21:52:28 +02:00
Sagi ab82f06c87 Added react and react-dom dependencies (#2518)
* Added react and react-dom dependencies

Added missing `react` and `react-dom` dependencies which are required by next.js

* Moved react & react-dom to dependencies

Moved react & react-dom to dependencies from devDependencies
2017-07-09 15:26:35 +02:00
Tim Neutkens ee29abb8d1 Add propType check with validation (#2516) 2017-07-09 18:42:20 +05:30
Ashley 5a0c61a78c Update next.config.js (#2511) 2017-07-09 13:52:35 +02:00
Victor Borges 6e7ac5f0ef fix: Forces Link to expose the href to the child using passHref property. (#2503)
* Forces Link to exposes the href to the child using passHref property.

* tests for passHref prop of the Link

* passHref property Link documentation
2017-07-09 10:39:02 +05:30
Paul O’Shannessy a3495b364d Fix JSX in readme (#2512)
An unclosed tag was resulting in some broken syntax highlighting.
2017-07-09 10:24:47 +05:30
Tim Neutkens dc607e452b Add docs for next/error (#2513) 2017-07-09 10:24:27 +05:30
Arunoda Susiripala 86c283777f 3.0.1-beta.13 2017-07-09 10:21:50 +05:30
Arunoda Susiripala 00e2659d28 2.4.7 2017-07-09 10:18:32 +05:30
Arunoda Susiripala 5c9d846e6b Merge branch 'v3-beta' of github.com:zeit/next.js into v3-beta 2017-07-09 10:15:58 +05:30
Arunoda Susiripala f718bcaa13 3.0.1-beta.12 2017-07-09 10:11:18 +05:30
Arunoda Susiripala e94671bd95 3.0.1-beta.11 2017-07-09 10:07:38 +05:30
Arunoda Susiripala feaa1934d8 Update yarn.lock 2017-07-09 10:04:53 +05:30
Arunoda Susiripala 783ecdefd2 Merge branch 'master' into v3-beta 2017-07-09 09:57:56 +05:30
fridays 9cc8d26a68 fix regex for pages that end with index (#2505) 2017-07-09 09:50:30 +05:30
Arunoda Susiripala 871bc4e06b Add tests for EventEmitter. (#2515) 2017-07-09 09:16:53 +05:30
Scott Raymond 2d510d640a Add hostname argument to next-dev (#2500) (#2506) 2017-07-08 22:14:58 +02:00
Paul Reichelt fc259cf985 Send credentials with on-demand-entries-ping (#2509) 2017-07-08 21:45:34 +02:00
myxvisual a0d85d8bee fix: Update react-uwp example support Next 3 (#2464)
* fix: Update react-uwp example support Next 3

* style: Update linted codes
2017-07-08 14:12:01 +02:00