diff --git a/contributors.yml b/contributors.yml index 22a16880dd6..322b9147a7e 100644 --- a/contributors.yml +++ b/contributors.yml @@ -706,6 +706,7 @@ - willhack - willin - willowcheng +- willsmithte - wizardlyhel - wKovacs64 - wladiston diff --git a/packages/remix-server-runtime/responses.ts b/packages/remix-server-runtime/responses.ts index 424b4296aaa..555b11f9f68 100644 --- a/packages/remix-server-runtime/responses.ts +++ b/packages/remix-server-runtime/responses.ts @@ -44,7 +44,7 @@ export type TypedResponse = Omit & { * @deprecated This utility is deprecated in favor of opting into Single Fetch * via `future.v3_singleFetch` and returning raw objects. This method will be * removed in React Router v7. If you need to return a JSON Response, you can - * use `Response.json()`. + * use `Response.json()`. If you need to add headers or status codes, use `data()`: https://remix.run/docs/en/main/utils/data * * @see https://remix.run/utils/json */