You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 24, 2024. It is now read-only.
defineRoute
defineRoute
default exportComponent
useLoaderData
and injectloaderData
param (code)useActionData
and injectactionData
param (code)params
param? Not sure if needed in the codemod, as components in the old code didn't have access to this (source)useFetcher<typeof action>
(example)loader
->serverLoader
clientLoader
action
->serverAction
clientAction
meta
data
->loaderData
(code)links
ErrorBoundary
HydrateFallback
headers
- deprecated in Single Fetchhandle
- likely unsupported bydefineRoute
LoaderFunctionArgs
)params
field #4clientLoaderHydrate
field (code)defineRootRoute
(code)Other:
npx remix routes --json
app
from config somehow, it is hardcoded for nowdefineRoute
npx
typeof loader
/typeof action
(example)unstable_defineAction
andunstable_defineLoader
?Bugs:
useLoaderData
from other components in the route file #3The text was updated successfully, but these errors were encountered: