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
Add a new `unstable_data()` API for usage with Remix Single Fetch
6
+
7
+
- This API is not intended for direct usage in React Router SPA applications
8
+
- It is primarily intended for usage with `createStaticHandler.query()` to allow loaders/actions to return arbitrary data + `status`/`headers` without forcing the serialization of data into a `Response` instance
9
+
- This allows for more advanced serialization tactics via `unstable_dataStrategy` such as serializing via `turbo-stream` in Remix Single Fetch
10
+
- ⚠️ This removes the `status` field from `HandlerResult`
11
+
- If you need to return a specific `status` from `unstable_dataStrategy` you should instead do so via `unstable_data()`
0 commit comments