1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/lib
Naoyuki Kanezawa 1708222381 Programmatic API (#310)
* 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
2016-12-16 12:33:08 -08:00
..
app.js remove workaround for react-hot-loader 2016-12-04 07:06:47 +09:00
css.js Exposing glamor style as default allowing different ways to import the css helpers 2016-10-22 09:45:41 +02:00
eval-script.js Prefetch pages with Service Workers (#375) 2016-12-15 11:13:40 -08:00
head.js Add default utf-8 charset. (#270) 2016-11-17 15:06:54 -08:00
link.js Programmatic API (#310) 2016-12-16 12:33:08 -08:00
prefetch.js Remove console.logs (#402) 2016-12-16 11:43:46 +09:00
router.js Programmatic API (#310) 2016-12-16 12:33:08 -08:00
shallow-equals.js Added linting using standard (#27) 2016-10-16 17:00:17 -07:00
side-effect.js batch update head contents (#129) 2016-10-28 23:39:20 +09:00