How to Enforce Type Safety in FormData with TypeScriptWhen 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.orgMar 10, 2025
How to Extract an Error Object from a Blob API Response in JavaScriptI encountered an issue when I made a GET request in my React project which was supposed to return a file I could download. For the file to download properly, I had to make the response type a blob. But if an error occurred when the server returns a ...3 min read·freecodecamp.orgMar 29, 2024
How to Build a Stepper Component in ReactI was working on a React project recently, and I realized that there were so many UI components that I had to build to get things done quickly. So I began to explore a lot of UI libraries like Material UI or Chakra UI. Then I started wondering why I ...7 min read·freecodecamp.orgJan 10, 2024
How to Pass Data Across Routes with React RouterOriginally published on3 min read·olabisi.hashnode.devAug 27, 2023