Arunoda Susiripala
37531726c2
3.0.1-beta.19
2017-07-26 22:33:15 +05:30
Arunoda Susiripala
10241fe610
Fix the route redirect error when we've multiple path params. ( #2652 )
...
For an example, with a URL like: /static/data/hello.txt
2017-07-26 22:31:49 +05:30
James Hegedus
84de7f9397
With Firebase Hosting Example ( #2642 )
...
* Rename Firebase Auth example
* Update gitignore to include npm5 lockfile
* Cloud Function
* Add Next app with two pages to demonstrate navigation
* Add Firebase Hosting and configuration to Host & Deploy
* Fix errors in rename for firebase-auth example
* Recommend pkg managers with caches for better perf
* Update with-firebase-hosting example
Fix code
* Update with-firebase-hosting example
Fix npm scripts and package.json files
* Update with-firebase-hosting example
Update README & install scripts
* Update with-firebase-hosting example
Update example package name
* Update with-firebase-hosting example
Fix to use single-quotes
* Update with-firebase-hosting example
VSCode did not like single-quotes! Sorry
* Fix gitignore file
2017-07-26 07:52:49 +02:00
Olivier Tassinari
58c2d138d0
examples(material-ui): change the wrapping strategy ( #2648 )
...
By creating an intermediary component (with the HOC)
we save some React rendering logic.
That's also addressing an issue with JssProvider (react-jss)
that generate a new index at each render.
2017-07-25 22:42:23 +02:00
Tom Coleman
051ee314e9
Also update Router.push example with object URL ( #2639 )
...
Following on from f8950e9b4c
2017-07-25 06:53:21 +05:30
Arunoda Susiripala
f8950e9b4c
Fix README issue related to object-urls.
2017-07-24 20:26:22 +05:30
Arunoda Susiripala
564dbdd237
Add a test case to prevent issue #2617 to happen again.
2017-07-24 11:43:45 +05:30
Arunoda Susiripala
c3fd0ed51a
Fix test cases.
2017-07-24 11:17:53 +05:30
Arunoda Susiripala
1da009494c
Merge branch 'v3-beta' of github.com:zeit/next.js into v3-beta
2017-07-24 10:21:57 +05:30
Arunoda Susiripala
7965cb299d
Merge master into v3-beta.
2017-07-24 10:10:29 +05:30
Olivier Tassinari
c84bf2ea32
Update material-ui example ( #2630 )
2017-07-24 06:39:36 +02:00
Arunoda Susiripala
e319b4fdce
2.4.8
2017-07-24 10:06:31 +05:30
Arunoda Susiripala
c03c86ee5e
Make sure /static/ and /_next/ are valid internal urls. ( #2631 )
2017-07-24 10:04:06 +05:30
Tim Neutkens
06d42b99ec
Ignore package-lock.json ( #2623 )
2017-07-23 19:51:12 +02:00
Tim Neutkens
2c7d0ec47a
Uppercase location for consistency ( #2622 )
2017-07-23 19:50:48 +02:00
Talasan Nicholson
337471d684
Add page transitions example ( #2613 )
2017-07-22 10:00:15 +02:00
Ben Murden
6781a75d8b
Hyperlink spelling ( #2616 )
2017-07-21 13:19:22 +02:00
Arunoda Susiripala
f2f5b96ecb
3.0.1-beta.18
2017-07-20 23:50:05 +05:30
Arunoda Susiripala
d4eb9455b8
Merge branch 'v3-beta' of github.com:zeit/next.js into v3-beta
2017-07-20 23:48:58 +05:30
Arunoda Susiripala
2f7e459210
Make dynamic import spec compliant. ( #2612 )
...
* Make dynamic import spec compliant.
Now we simply return the whole module incl. default field
In 'next/dynamic' we pick the default field if there is.
Since modules with default is mostly used next/dynamic, for the enduser, this change has no effect.
* Rename module into m
Using module could be confusing.
2017-07-20 23:21:04 +05:30
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