-
// loader
return defer({
page
})
...
// component
const {page} = useLoaderData<typeof loader>(); Property 'page' does not exist on type 'JsonifyObject<Pick<DeferredData, "init"> & { data: { page: This is not a problem if we change the import to remix-run/react // import { defer } from '@shopify/remix-oxygen';
import { defer } from '@remix-run/react'; It's also not a problem if we use "@shopify/remix-oxygen": "^2.0.4", |
Beta Was this translation helpful? Give feedback.
Answered by
dvnrsn
May 14, 2024
Replies: 1 comment 1 reply
-
This seems to be the problem "@remix-run/react": "^2.8.0",
"@remix-run/server-runtime": "2.9.1", "@remix-run/react": "^2.9.2",
"@remix-run/server-runtime": "2.9.2", |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dvnrsn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This seems to be the problem