-
BREAKING CHANGE: Moved all response helpers to
@remix-run/response. Update your imports:// Before import * as res from '@remix-run/fetch-router/response-helpers' res.file(file, request) res.html(body) res.redirect(location, status, headers) // After import { createFileResponse } from '@remix-run/response/file' import { createHtmlResponse } from '@remix-run/response/html' import { createRedirectResponse } from '@remix-run/response/redirect' createFileResponse(file, request) createHtmlResponse(body) createRedirectResponse(location, status)
-
BREAKING CHANGE: Rename
InferRequestHandler=>BuildRequestHandler -
Add
excludeoption toresource()andresources()route map helpers (#10858)