Skip to content

Add response options to json and redirect helper bindings #7

@tom-sherman

Description

@tom-sherman

https://remix.run/docs/en/v1/api/remix#http-helpers

Example:

// We can bikeshed the `withResponse` suffix
let jsonWithResponse: ({..}, Webapi.Fetch.ResponseInit.t) => Webapi.Fetch.Response.t
let redirectWithResponse: (string, Webapi.Fetch.ResponseInit.t) => Webapi.Fetch.Response.t

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions