From 8364dbaa9345f69f5842cc835c545dc9e4da33ab Mon Sep 17 00:00:00 2001 From: Philip Potter Date: Fri, 5 Aug 2022 22:30:44 +0100 Subject: [PATCH 1/2] Fix links to mdn.io/Request mdn.io/request goes to https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods which isn't what we want. mdn.io/Request goes to https://developer.mozilla.org/en-US/docs/Web/API/Request which is what we actually want here. mdn.io/request.formData and mdn.io/Request.formData both redirect to the same place, but I updated this link to match the other fix. --- docs/tutorials/blog.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/tutorials/blog.md b/docs/tutorials/blog.md index 9de7d64b222..02d72ce4a1b 100644 --- a/docs/tutorials/blog.md +++ b/docs/tutorials/blog.md @@ -897,7 +897,7 @@ export const action = async ({ request }) => { That's it. Remix (and the browser) will take care of the rest. Click the submit button and watch the sidebar that lists our posts update automatically. -In HTML an input's `name` attribute is sent over the network and available by the same name on the request's `formData`. Oh, and don't forget, the `request` and `formData` objects are both straight out of the web specification. So if you want to learn more about either of them, head over to MDN! [mdn.io/request][mdn-io-request] [mdn.io/request.formData][mdn-io-request-form-data]. +In HTML an input's `name` attribute is sent over the network and available by the same name on the request's `formData`. Oh, and don't forget, the `request` and `formData` objects are both straight out of the web specification. So if you want to learn more about either of them, head over to MDN! [mdn.io/Request][mdn-io-request] [mdn.io/Request.formData][mdn-io-request-form-data]. TypeScript is mad again, let's add some types. @@ -1175,8 +1175,8 @@ We hope you love Remix! 💿 👋 [the-styling-guide]: /guides/styling [prisma]: https://prisma.io [http-localhost-3000-posts-admin]: http://localhost:3000/posts/admin -[mdn-io-request]: https://mdn.io/request -[mdn-io-request-form-data]: https://mdn.io/request.formData +[mdn-io-request]: https://mdn.io/Request +[mdn-io-request-form-data]: https://mdn.io/Request.formData [disable-java-script]: https://developer.chrome.com/docs/devtools/javascript/disable [the-optimistic-ui-guide]: /guides/optimistic-ui [somewhere]: https://www.youtube.com/watch?v=dQw4w9WgXcQ From 1edd26663e271d8186cc022b5f886e79d241744a Mon Sep 17 00:00:00 2001 From: Philip Potter Date: Fri, 5 Aug 2022 22:35:13 +0100 Subject: [PATCH 2/2] Sign CLA --- contributors.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/contributors.yml b/contributors.yml index 5ca6dce6c87..6802c7435ed 100644 --- a/contributors.yml +++ b/contributors.yml @@ -311,6 +311,7 @@ - pcattori - penspinner - penx +- philandstuff - phishy - plastic041 - plondon