rsnext/test/e2e/app-dir
JJ Kasper 9781c62c30
Fix revalidate check in client component (#41917)
Ensures we check for the explicit type on revalidate as client
components can return an object when accessing module export.

Patched deployment can be seen here
https://next-13-client-page-iuqrog6hj-ijjk-testing.vercel.app/broken

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`

Fixes: https://github.com/vercel/next.js/issues/41890
2022-10-26 17:24:38 -07:00
..
app Pathname and search params SSG (#41247) 2022-10-24 18:58:10 -07:00
app-alias Support next option for Request (#41614) 2022-10-23 20:24:35 -07:00
app-edge useSelectedLayoutSegment -> useSelectedLayoutSegments, add useSelectedLayoutSegment with previous behavior (#41693) 2022-10-23 18:48:01 -07:00
app-middleware Support overriding request headers in middlewares (#41380) 2022-10-20 01:36:05 +00:00
app-prefetch Update precompiled react to next channel (#41708) 2022-10-24 00:31:52 -07:00
app-rendering Update precompiled react to next channel (#41708) 2022-10-24 00:31:52 -07:00
app-static Fix revalidate check in client component (#41917) 2022-10-26 17:24:38 -07:00
app-typescript Improve error message for wrong props (#41668) 2022-10-23 01:01:39 +00:00
asset-prefix BREAKING CHANGE: Remove browsersListForSwc and change default to legacyBrowsers: false (#41529) 2022-10-19 01:38:39 +00:00
back-button-download-bug Only import dev overlay for dev mode (#41771) 2022-10-25 00:53:13 -07:00
create-root-layout Create root layout (#41523) 2022-10-23 00:39:30 -07:00
head Add initial head handling in app (#41607) 2022-10-25 01:09:26 -07:00
next-font Font loader default config (#41628) 2022-10-21 18:08:37 -07:00
next-image Add test fixture e2e/app-dir/next-image (#41609) 2022-10-20 23:21:28 +00:00
root-layout Only import dev overlay for dev mode (#41771) 2022-10-25 00:53:13 -07:00
rsc-basic Update page config APIs (#41580) 2022-10-20 02:39:25 +02:00
rsc-errors Improve errors for invalid component export (#41657) 2022-10-22 22:44:19 +00:00
rsc-external Disable esm resolving for appDir and alias react (#41687) 2022-10-23 20:04:23 -07:00
trailingslash BREAKING CHANGE: Remove browsersListForSwc and change default to legacyBrowsers: false (#41529) 2022-10-19 01:38:39 +00:00
with-babel Client component directive: use client (#41333) 2022-10-11 10:26:45 -07:00
app-alias.test.ts Bundle ssr client layer excepts react externals (#41606) 2022-10-22 16:33:51 -07:00
app-edge.test.ts Bundle ssr client layer excepts react externals (#41606) 2022-10-22 16:33:51 -07:00
app-middleware.test.ts Bundle ssr client layer excepts react externals (#41606) 2022-10-22 16:33:51 -07:00
app-static.test.ts Fix revalidate check in client component (#41917) 2022-10-26 17:24:38 -07:00
asset-prefix.test.ts Bundle ssr client layer excepts react externals (#41606) 2022-10-22 16:33:51 -07:00
back-button-download-bug.test.ts Add initial head handling in app (#41607) 2022-10-25 01:09:26 -07:00
create-root-layout.test.ts Create root layout (#41523) 2022-10-23 00:39:30 -07:00
head.test.ts Add initial head handling in app (#41607) 2022-10-25 01:09:26 -07:00
index.test.ts Pathname and search params SSG (#41247) 2022-10-24 18:58:10 -07:00
next-font.test.ts Bundle ssr client layer excepts react externals (#41606) 2022-10-22 16:33:51 -07:00
next-image.test.ts Bundle ssr client layer excepts react externals (#41606) 2022-10-22 16:33:51 -07:00
prefetching.test.ts Bundle ssr client layer excepts react externals (#41606) 2022-10-22 16:33:51 -07:00
rendering.test.ts Bundle ssr client layer excepts react externals (#41606) 2022-10-22 16:33:51 -07:00
root-layout.test.ts Bundle ssr client layer excepts react externals (#41606) 2022-10-22 16:33:51 -07:00
rsc-basic.test.ts Bundle ssr client layer excepts react externals (#41606) 2022-10-22 16:33:51 -07:00
rsc-errors.test.ts Bundle ssr client layer excepts react externals (#41606) 2022-10-22 16:33:51 -07:00
rsc-external.test.ts Update precompiled react to next channel (#41708) 2022-10-24 00:31:52 -07:00
trailingslash.test.ts Bundle ssr client layer excepts react externals (#41606) 2022-10-22 16:33:51 -07:00
vercel-analytics.test.ts Disable esm resolving for appDir and alias react (#41687) 2022-10-23 20:04:23 -07:00
with-babel.test.ts Bundle ssr client layer excepts react externals (#41606) 2022-10-22 16:33:51 -07:00