Marcus Silva
0b9475624f
chore: remove-redundant-example-import ( #13175 )
...
This issue is related to #12964
**I changed the following examples:**
`with-zeit-fetch`
`with-why-did-you-render`
`with-styletron`
`custom-server-fastify`
`custom-server-express`
`with-why-did-you-render`
`custom-server-hapi`
`custom-server-koa`
`custom-server-polka`
`custom-server-typescript`
`progressive-render`
`ssr-caching`
`svg-components`
`using-preact`
`with-ant-design`
2020-05-22 16:13:37 +00:00
Joe Haddad
dbad9db68c
Update Examples for Fast Refresh ( #13068 )
2020-05-18 17:44:18 -04:00
matamatanot
13bfb9a73d
Update custom-server-express example with getServerSideProps ( #11035 )
...
* use getServerSideProps
* run Prettier
* update react
* use getStaticProps
* delete query
* Remove data fetching requirements
Co-authored-by: “kosuke_matano” <kosuke_matano@cyberagent.co.jp>
Co-authored-by: Luis Alvarez <luis@zeit.co>
2020-03-13 13:48:07 -05:00
Joe Haddad
18a9c7e371
Improve linting rules to catch more errors ( #9374 )
...
* Update `packages/`
* Update examples
* Update tests
* Update bench
* Update top level files
* Fix build
* trigger
2019-11-10 19:24:53 -08:00
Tim Neutkens
9c4eefcdbf
Add prettier for examples directory ( #5909 )
...
* Add prettier for examples directory
* Fix files
* Fix linting
* Add prettier script in case it has to be ran again
2018-12-17 17:34:32 +01:00
Luis Fernando Alvarez D
80fc0f4511
(custom-server-express) avoid a 404 when navigating to a custom route ( #3645 )
...
* next export will expand symlinks now
* Make sure next export doesn't includes _document.js in windows
* avoid a client side not found page when navigating to a custom route
2018-01-31 22:38:36 +01:00
Vinicius Camargo
fbd4f03254
Update the custom-server-express with an req.params example ( #3258 )
2017-11-13 12:22:10 +01:00
Guillermo Rauch
f4ccfd9e04
Update b.js
2016-12-20 12:34:15 -08:00
Guillermo Rauch
1b694bd8a8
Update a.js
2016-12-20 12:34:04 -08:00
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