Skip to content

Has badRequest been removed from remix-utils v2? #231

Closed Answered by sergiodxa
dmwallace asked this question in Q&A
Discussion options

You must be logged in to vote

I imagine you mean in v7, yes, those functions which just wrap json to add a status code are going to be removed, the response helpers that will remain are the redirectBack, notModified (because it has no body), and the ones for different content types, and other ones like jsonHash since they add more features over just setting a status code.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sergiodxa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants