---
title: "#formdata articles | Hashnode"
description: "Explore 11 articles tagged #formdata on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/formdata"
---

Tag

# #formdata

11 posts · 1 followers

[Valencia Miyeon Jang](https://hashnode.com/@valencia23) · [Jul 14, 2025](https://hashnode.com/posts/react-when-to-use-formdata-in-react/68752249202d820330ff1271)

### [React | When to Use FormData in React](https://val-codeops.hashnode.dev/react-when-to-use-formdata-in-react?utm_source=hashnode&utm_medium=feed)

Quick notes on when to use FormData vs just using React state. ✅ Use FormData when... 1. Uploading files (e.g. images) Files can’t be sent via JSON.stringify()FormData handles multipart/form-data for you const handleSubmit = (e) => { e.preventDefau...

2 min read · [val-codeops.hashnode.dev](https://val-codeops.hashnode.dev/react-when-to-use-formdata-in-react?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/react-when-to-use-formdata-in-react/68752249202d820330ff1271)

[Olabisi Olaoye](https://hashnode.com/@Olabisi09) · [Mar 10, 2025](https://hashnode.com/posts/how-to-enforce-type-safety-in-formdata-with-typescript/67cef1f13c2aba931eee9785)

### [How to Enforce Type Safety in FormData with TypeScript](https://freecodecamp.org/news/how-to-enforce-type-safety-in-formdata-with-typescript?utm_source=hashnode&utm_medium=feed)

When working with the FormData interface in JavaScript, where data is appended as key/value pairs, there's no built-in way to enforce type safety on the keys you append. This can lead to typos, missing keys, and unexpected runtime errors. But in Type...

5 min read · [freecodecamp.org](https://freecodecamp.org/news/how-to-enforce-type-safety-in-formdata-with-typescript?utm_source=hashnode&utm_medium=feed)

[ByteScrum Technologies](https://hashnode.com/@bytescrum) · [Sep 11, 2024](https://hashnode.com/posts/how-to-handle-file-uploads-in-javascript-a-detailed-guide-with-examples/66e126043b0e1f22e3b59589)

### [How to Handle File Uploads in JavaScript: A Detailed Guide with Examples](https://blog.bytescrum.com/how-to-handle-file-uploads-in-javascript-a-detailed-guide-with-examples?utm_source=hashnode&utm_medium=feed)

Client-side file uploading in JavaScript: how to use drag-and-drop, progress indicators, and file checks

4 min read · [blog.bytescrum.com](https://blog.bytescrum.com/how-to-handle-file-uploads-in-javascript-a-detailed-guide-with-examples?utm_source=hashnode&utm_medium=feed)

[sathwikreddy GV](https://hashnode.com/@sathwikreddygv) · [Aug 24, 2024](https://hashnode.com/posts/wtf-is-multipartform-data-in-http/66c9b63f66f2ddbefe2b5b43)

### [WTF is multipart/form-data in HTTP](https://blog.sathwikreddygv.com/wtf-is-multipartform-data-in-http?utm_source=hashnode&utm_medium=feed)

Introduction I've always wondered how files are sent to the server in an HTTP request. Whenever I need to create a UI for file upload on the frontend and send it to the backend using an API call, I set the content-type to multipart/form-data in my HT...

3 min read · [blog.sathwikreddygv.com](https://blog.sathwikreddygv.com/wtf-is-multipartform-data-in-http?utm_source=hashnode&utm_medium=feed)

[Shahab Movahhedi](https://hashnode.com/@movahhedi) · [Jan 14, 2024](https://hashnode.com/posts/in-search-of-a-reimplementation-of-formdata/65a3cec3e1ec5c237c81ad98)

### [In Search of a Reimplementation of FormData](https://blog.shmovahhedi.com/in-search-of-a-reimplementation-of-formdata?utm_source=hashnode&utm_medium=feed)

This is a chat of mine with GitHub Copilot. Nice job GitHub! movahhedi: Explain line by line exactly what each line of the code from the jquery source code defining the serialize functions for forms does: jQuery.fn.extend( { serialize: function(...

9 min read · [blog.shmovahhedi.com](https://blog.shmovahhedi.com/in-search-of-a-reimplementation-of-formdata?utm_source=hashnode&utm_medium=feed)

[Nirmal Kumar](https://hashnode.com/@nirmalkumar) · [Aug 31, 2023](https://hashnode.com/posts/dont-use-state-for-react-forms-use-this-instead/64f0ac2b539bec759e34b1d7)

### [Don’t use State for React Forms. Use this instead!](https://nirmalkumar.hashnode.dev/dont-use-state-for-react-forms-use-this-instead?utm_source=hashnode&utm_medium=feed)

Learn how to optimize the performance of react forms by replacing useState with the native feature of JavaScript.

5 min read · [nirmalkumar.hashnode.dev](https://nirmalkumar.hashnode.dev/dont-use-state-for-react-forms-use-this-instead?utm_source=hashnode&utm_medium=feed)

[Anjanesh Lekshminarayanan](https://hashnode.com/@anjanesh) · [Mar 1, 2023](https://hashnode.com/posts/client-side-ajax-using-json/63fedbb082836932a70fcca8)

### [Client-side AJAX using JSON](https://javascript.co.in/client-side-ajax-using-json?utm_source=hashnode&utm_medium=feed)

Using real JSON content-type to request and respond with

2 min read · [javascript.co.in](https://javascript.co.in/client-side-ajax-using-json?utm_source=hashnode&utm_medium=feed)

[Usama](https://hashnode.com/@usamaadev) · [Nov 4, 2022](https://hashnode.com/posts/how-to-add-nested-arrays-and-objects-in-the-postman-body-via-form-data/6365446dba211b516727dca7)

### [How to add nested arrays and objects in the postman body via form-data](https://usamaadev.hashnode.dev/how-to-add-nested-arrays-and-objects-in-the-postman-body-via-form-data?utm_source=hashnode&utm_medium=feed)

A simple guide about how you can add array values or object values in the postman body while a post/put request along with adding files

2 min read · [usamaadev.hashnode.dev](https://usamaadev.hashnode.dev/how-to-add-nested-arrays-and-objects-in-the-postman-body-via-form-data?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/how-to-add-nested-arrays-and-objects-in-the-postman-body-via-form-data/6365446dba211b516727dca7)

[Salma ABOUMEROUANE](https://hashnode.com/@salmaab) · [Oct 27, 2022](https://hashnode.com/posts/how-to-send-html-form-data-to-the-back-end-node-js/635a0e34cb66443021e72bcb)

### [How to send HTML form data to the back-end (Node JS)](https://purpose-code.hashnode.dev/how-to-send-html-form-data-to-the-back-end-node-js?utm_source=hashnode&utm_medium=feed)

How to send form data to the back-end (Node JS)? 1)- Let’s create a simple form with HTML and CSS For how to create a form you can check my tutorial: How to build a form in HTML Now we will create a simple form that will contain user’s full name, ema...

5 min read · [purpose-code.hashnode.dev](https://purpose-code.hashnode.dev/how-to-send-html-form-data-to-the-back-end-node-js?utm_source=hashnode&utm_medium=feed)

[Okiki Ojo](https://hashnode.com/@okikio) · [Sep 18, 2022](https://hashnode.com/posts/using-formdata-with-astro/6326ab447ae3b59ef0064d87)

### [Using FormData with Astro](https://blog.okikio.dev/using-formdata-with-astro?utm_source=hashnode&utm_medium=feed)

How to upload files with Astro, express and multerjs

9 min read · [blog.okikio.dev](https://blog.okikio.dev/using-formdata-with-astro?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/using-formdata-with-astro/6326ab447ae3b59ef0064d87)
