- 31 12月, 2016 2 次提交
-
-
由 Arunoda Susiripala 提交于
* Move route loading logic to a common place. * Add router events. * Add EventEmitter's core API methods. * Add example app for loading events and docs. * Fix some typos. * Get rid of Router.ready() * Remove events package. It's already shipping with webpack. * Handling aborting properly. * Expose simple attribute based events listener API. Removed the proposed event listener API from the public API. * Remove error logged when there's an abort error. There are many other ways to capture this error. So, it doesn't look nice to print this always. * Change router events to pass only the current URL as arguments. * Add a section about Cancelled Routes to README.
-
由 Naoyuki Kanezawa 提交于
-
- 29 12月, 2016 1 次提交
-
-
由 Tim Neutkens 提交于
* Add warning for multiple children in Link * Add space after if * Use proptype validation
-
- 28 12月, 2016 1 次提交
-
-
由 Naoyuki Kanezawa 提交于
-
- 25 12月, 2016 1 次提交
-
-
由 Naoyuki Kanezawa 提交于
-
- 24 12月, 2016 2 次提交
-
-
由 Dan Zajdband 提交于
-
由 Naoyuki Kanezawa 提交于
-
- 22 12月, 2016 3 次提交
-
-
由 nkzawa 提交于
-
由 James O'Dwyer 提交于
* force scroll to false if # is found in url * only overwrite scroll if scroll=true is not passed in * clean up logic around setting scroll var
-
由 Naoyuki Kanezawa 提交于
-
- 21 12月, 2016 1 次提交
-
-
由 Arunoda Susiripala 提交于
* Prevent using 'next/router' APIs inside 'getInitialProps' * Remove incorrect documentation. * Make next/router a client only API.
-
- 20 12月, 2016 2 次提交
-
-
由 Arunoda Susiripala 提交于
In order to warn the user, now we are using a warn function which is located in the lib/utils module.
-
由 Arunoda Susiripala 提交于
-
- 19 12月, 2016 1 次提交
-
-
由 Arunoda Susiripala 提交于
* Immplement the initial singleton Router. * Use the new SingletonRouter for HMR error handling. * Use SingletonRouter inside the Link. * Create an example app using the Router. * Make the url parameter optional in Router.push and Router.replace * Add a section about next/router in the README.
-
- 18 12月, 2016 3 次提交
-
-
由 Naoyuki Kanezawa 提交于
-
由 Arunoda Susiripala 提交于
-
由 Thomas Jaggi 提交于
-
- 17 12月, 2016 3 次提交
-
-
由 Arunoda Susiripala 提交于
* Remove the use of CDN and bundle everything inside the app. We still pre-build the prefetcher because it needs different webpack config which only targets browsers supports Service Workers. * Remove cdn config item. We no longer using it. * Stop adding script tags when staticMarkup=true * Remove babel-plugin-transform-remove-strict-mode NPM module.
-
由 Naoyuki Kanezawa 提交于
* add 'next' api * add render APIs * add 'as' prop to Link * check Accept header to serve json response * check if response was finished on getInitialProps call * move server/app to server/index * load webpack-hot-middleware-client by absolute path * server: options for testing * add tests * example: improve * server: make dir optional * fix client routing * add parameterized routing example * link: fix display url * Add custom-server-express example (#352) * Add custom-server-express example * Remove extraneous nexts in express routes defs * Update next config in server.js * Handle accept headers totally inside Next.js (#385) * Handle accept headers totally inside Next.js Now user doesn't need to handle it anymore. * Move json pages serving to /_next/pages base path. * Join paths correctly. * remove next/render
-
由 Naoyuki Kanezawa 提交于
-
- 16 12月, 2016 2 次提交
-
-
由 Arunoda Susiripala 提交于
-
由 Arunoda Susiripala 提交于
* Register the service worker. * Update prefetcher code to do prefetching. * Implement the core prefetching API. support "import <Link>, { prefetch } from 'next/prefetch'" * Implement a better communication system with the service worker. * Add a separate example for prefetching * Fix some typos. * Initiate service worker support even prefetching is not used. This is pretty important since initiating will reset the cache. If we don't do this, it's possible to have old cached resources after the user decided to remove all of the prefetching logic. In this case, even the page didn't prefetch it'll use the previously cached pages. That because of there might be a already running service worker. * Use url module to get pathname. * Move prefetcher code to the client from pages Now we also do a webpack build for the prefetcher code. * Add prefetching docs to the README.md * Fix some typo. * Register service worker only if asked to prefetch We also clean the cache always, even we initialize the service worker or not.
-
- 15 12月, 2016 1 次提交
-
-
由 Matthew Mueller 提交于
-
- 07 12月, 2016 1 次提交
-
-
由 Luke Edwards 提交于
-
- 04 12月, 2016 1 次提交
-
-
由 nkzawa 提交于
-
- 02 12月, 2016 1 次提交
-
-
由 Naoyuki Kanezawa 提交于
-
- 28 11月, 2016 1 次提交
-
-
由 Arunoda Susiripala 提交于
* Add example app which demonstrate the problem. * Add the first working version. * Fix lint issues. * Add README.md * Use /_next/main.js as the main file URI * Add the support for loading the core next bundle. * Optimize the output by removing Next modules from pages. * Use the same package.json as master use. * Change the example repo's README for simpler instructions. * Change example projects package.json to support next build and start. * Change main.js into commons.js. * Add support for hot core reload and errors. * Introduce require based on eval-script. * Add error reporting support with hot reloading. * Update README.md
-
- 24 11月, 2016 1 次提交
-
-
由 Naoyuki Kanezawa 提交于
* display runtime errors by error-debug * server: fix status * render Error component on client error * server: render runtime errors of error template * server: handle errors of error template on render404 * server: add a comment * server: refactor renderJSON * recover from runtime errors * _error: check if xhr exists * _error: improve client error * _error: improve error message
-
- 23 11月, 2016 1 次提交
-
-
由 Benjamin Coe 提交于
-
- 18 11月, 2016 1 次提交
-
-
由 zpnk 提交于
-
- 06 11月, 2016 2 次提交
- 04 11月, 2016 1 次提交
-
-
由 Naoyuki Kanezawa 提交于
* pass pathname and query to getInitialProps on both server and client * README: describe about the contet object of getInitialProps
-
- 03 11月, 2016 1 次提交
-
-
由 David Street 提交于
-
- 28 10月, 2016 2 次提交
-
-
由 Naoyuki Kanezawa 提交于
* head-manager: batch update * side-effect: remove redundant rendering cycle checks
-
由 Naoyuki Kanezawa 提交于
-
- 25 10月, 2016 1 次提交
-
-
由 Naoyuki Kanezawa 提交于
* load client js from cdn with fallback * fix cdn url
-
- 24 10月, 2016 2 次提交
- 22 10月, 2016 1 次提交
-
-
由 Dan Zajdband 提交于
-