- 16 2月, 2017 14 次提交
-
-
-
-
由 Fin Hopkins 提交于
The change in #1155 to remove server-side gzipping changed static rendering to no longer return a promise, which broke the Hapi example that was waiting for a resolved promise before closing the request. This PR fixes up all render or serve methods of server.js to consistently either await and/or return. Additionally, it collapses serveStatic and _serveStatic, as _serveStatic no longer needs to be factored out.
-
由 Fin Hopkins 提交于
Without this, modules built with Babel or Webpack would have hard-coded absolute paths all the way back to the root of the filesystem. This prevented compilation and running on different machines or even from different directories on the same machine. With this change, paths are hard-coded to the top-most node_madules directory found, which should make them portable relative to the app. Fixes #1160
-
-
由 Fabien Le Frapper 提交于
-
由 Arunoda Susiripala 提交于
-
-
由 Naoyuki Kanezawa 提交于
-
由 Arunoda Susiripala 提交于
* Move the test babel setup to the main babelrc file. * Add es2015 preset.
-
由 Guillermo Rauch 提交于
-
由 Arunoda Susiripala 提交于
* Add support to reload the page when ask to change the same url. * Do not run change() in the initial page load. * Add integration tests. * Add self-reload.js
-
由 Arunoda Susiripala 提交于
-
-
- 15 2月, 2017 14 次提交
-
-
由 Tim Neutkens 提交于
-
由 Naoyuki Kanezawa 提交于
-
由 Naoyuki Kanezawa 提交于
-
由 Tim Neutkens 提交于
* Use stats.json instead of running server * Add suggested changes
-
由 Naoyuki Kanezawa 提交于
-
由 Giuseppe 提交于
-
由 Naoyuki Kanezawa 提交于
-
由 Arunoda Susiripala 提交于
* Implement a very simple prefetching solution. * Remove next-prefetcher. * Require 'whatwg-fetch' only in the client. * Use xhr in the code. * Use a simple fetching solution. * Fix 404 and xhr status issue. * Move the prefetching implementation to next/router. * Add deprecated warnning for next/prefetch * Run only 2 parellel prefetching request at a time. * Change xhr to jsonPageRes. * Improve the prefetching logic. * Add unit tests covering the Router.prefetch() * Update examples to use the new syntax. * Update docs. * Use execOnce() to manage warn printing. * Remove prefetcher building from the flyfile.js Because, we no longer use it.
-
由 Eric Zingeler 提交于
-
由 Naoyuki Kanezawa 提交于
* patch-react: copy non-enumerable properties and descriptors * fix syntax error * remove getOwnPropertyDescriptors polyfil
-
由 Tim Neutkens 提交于
* Add notice about getInitialProps * Remove extra whitespace
-
由 Thomas Lindstrøm 提交于
-
-
由 Sébastien Dubois 提交于
* ssr-caching: document way to configure cache key * simplify comment
-
- 14 2月, 2017 12 次提交
-
-
由 Guillermo Rauch 提交于
-
由 Naoyuki Kanezawa 提交于
* fix status messages on error * error: use the special message for 404
-
-
-
-
由 Tim Neutkens 提交于
-
由 Arunoda Susiripala 提交于
* Remove babell-plugin-transform-react-constant-elements. With this, our shared-modules example's counter won't work in production mode. (as this plugin enabled) So, we could see more issues like this. That's why we don't need this at this time. * Update package.json.
-
由 Tim Neutkens 提交于
-
由 Tim Neutkens 提交于
-
-
-
由 nkzawa 提交于
-