rsnext/packages/next/next-server/server
Joe Haddad 6d5c48742b
Implement isFallback Router Property (#10539)
This adds a `isFallback` property to detect if the page is being rendered in "fallback" mode or normal mode.
Accessed via the `useRouter()` hook.

---

Closes #10527
2020-02-15 13:01:10 -05:00
..
lib Support unnamed parameters in custom-routes correctly (#9920) 2020-01-16 17:38:38 -05:00
api-utils.ts SSG Preview Mode (#10459) 2020-02-11 20:16:42 -05:00
config.ts Check next.config.js settings (#10425) 2020-02-14 15:42:44 -05:00
crypto-utils.ts SSG Preview Mode (#10459) 2020-02-11 20:16:42 -05:00
get-page-files.ts Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
load-components.ts SSG Preview Mode (#10459) 2020-02-11 20:16:42 -05:00
next-server.ts Clean up async in next-server (#10476) 2020-02-12 23:28:31 -05:00
normalize-page-path.ts Update to use existing util to de-dupe path check (#10431) 2020-02-05 22:10:39 +01:00
optimize-amp.ts Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
render.tsx Implement isFallback Router Property (#10539) 2020-02-15 13:01:10 -05:00
require.ts Update to use existing util to de-dupe path check (#10431) 2020-02-05 22:10:39 +01:00
router.ts Make sure to encode pathname for custom-route destination (#10536) 2020-02-14 16:53:08 +01:00
send-html.ts Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
serve-static.ts Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
spr-cache.ts SSG Preview Mode (#10459) 2020-02-11 20:16:42 -05:00
utils.ts Don't treat static as an internal route when the folder is not provided (#9394) 2019-11-12 20:07:19 -08:00