• Create a response with only the status 304 and optional headers. This is useful when trying to implement conditional responses based on Etags.

    Parameters

    • Optionalinit: Omit<ResponseInit, "status">

    Returns Response

    export async function loader({ request }: LoaderFunctionArgs) {
    return notModified();
    }