- Notifications
You must be signed in to change notification settings - Fork24
feat(fetch): addResponse.json
static method#10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
changeset-botbot commentedMay 25, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
🦋 Changeset detectedLatest commit:857eec9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means?Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Uh oh!
There was an error while loading.Please reload this page.
kettanaito commentedOct 11, 2022
As far as I know, there's no I'm solving a similar convenience issue in MSW, and you can draw some inspiration fromthere. |
it's in thespec and implemented in chrome, so it really just makes our polyfill closer to the spec |
kettanaito commentedOct 14, 2022
@mcansh, a good point, I must've been using a really old version of Chrome so it didn't show up when I checked this. Thanks for correcting me! |
Response.json
static methodSigned-off-by: Logan McAnsh <logan@mcan.sh>
Signed-off-by: Logan McAnsh <logan@mcan.sh>
Signed-off-by: Logan McAnsh <logan@mcan.sh>
Signed-off-by: Logan McAnsh <logan@mcan.sh>
[skip ci]Signed-off-by: Logan McAnsh <logan@mcan.sh>
7c9a525
to857eec9
CompareThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
Uh oh!
There was an error while loading.Please reload this page.
remix-run/remix#3308
======================================================================================
confirmed working with
npm link
and importing Response from@remix-run/web-fetch