@remix-run/dev | @remix-run/react | @remix-run/server-runtime | @remix-run/testing |
---|---|---|---|
minor |
minor |
minor |
minor |
New future.unstable_singleFetch
flag
- Naked objects returned from loaders/actions are no longer automatically converted to JSON responses. They'll be streamed as-is via
turbo-stream
soDate
's will becomeDate
throughuseLoaderData()
- You can return naked objects with
Promise
's without needing to usedefer()
- including nestedPromise
's <RemixServer abortDelay>
is no longer used. Instead, you shouldexport const streamTimeout
fromentry.server.tsx
and the remix server runtime will use that as the delay to abort the streamed response.- Actions no longer automatically revalidate on 4xx/5xx responses (via RR
future.unstable_skipActionErrorRevalidation
flag) - you can return a 2xx to opt-into revalidation or useshouldRevalidate