rsnext/packages/next/client
JJ Kasper 9793e9004f
Add isPreview field to router (#21638)
This adds an `isPreview` field to the `next/router` to allow detecting when in preview mode. 

Closes: https://github.com/vercel/next.js/issues/14903
2021-02-18 18:34:33 +00:00
..
dev Remove unnecessary unfetch polyfill for dev (#20589) 2020-12-29 21:01:42 +00:00
experimental-script.tsx fix(link): cancel idle callback on unmount (#22072) 2021-02-11 13:51:41 -05:00
head-manager.ts refactor(client): add return types (#20728) 2021-01-05 15:11:37 +00:00
image.tsx Support for custom image loaders via image component prop (#20216) 2021-01-05 20:51:34 +00:00
index.tsx Add isPreview field to router (#21638) 2021-02-18 18:34:33 +00:00
link.tsx Only create locale domain links if on locale domain (#22032) 2021-02-11 10:18:24 +00:00
next-dev.js Remove the static optimization indicator (#18629) 2020-11-02 09:27:36 +01:00
next.js Shave a few bytes off the bootstrap code (#14457) 2020-06-22 17:50:17 +00:00
normalize-trailing-slash.ts fix basepath trailing slash (#15200) 2020-07-15 23:53:31 +00:00
page-loader.ts refactor(client): add return types (#20728) 2021-01-05 15:11:37 +00:00
performance-relayer.ts refactor(client): add return types (#20728) 2021-01-05 15:11:37 +00:00
polyfills.js polyfills 2020-03-30 16:26:25 -04:00
request-idle-callback.ts fix(link): cancel idle callback on unmount (#22072) 2021-02-11 13:51:41 -05:00
route-loader.ts fix(link): cancel idle callback on unmount (#22072) 2021-02-11 13:51:41 -05:00
router.ts Add isPreview field to router (#21638) 2021-02-18 18:34:33 +00:00
use-intersection.tsx fix(link): cancel idle callback on unmount (#22072) 2021-02-11 13:51:41 -05:00
with-router.tsx refactor(client): add return types (#20728) 2021-01-05 15:11:37 +00:00