An honest-to-goodness client-side Amazon S3 uploader component in ReactRecently at work, I found myself tasked with writing an attachment uploader for big files — so team members at my firm can host large…Nov 17, 20222Nov 17, 20222
Stop filter().map()ping arraysLet’s say you have an array of props and you’d like to map only some of them to DOM nodes based on an attribute:Sep 14, 2021Sep 14, 2021
Published inCodeXOn replacing componentDidUpdate and other React life cycle methods with hooksI’ve addressed React’s life cycle before on this blog because it’s a common cause of acute nervous breakdown for many devs…Sep 8, 2021Sep 8, 2021
Parallax scrolling in HTMLI’m unashamed to say I have a soft spot for parallax scrolling in HTML. It gives a document depth, polish and dynamism without distracting…Aug 27, 2021Aug 27, 2021
Published inGeek CultureOn Next.js, React Query, and learning to love async/awaitReact Query is a clever package of hooks and tools for the React/Next family of frameworks written by Tanner Linsley. I’m familiarizing…Aug 25, 2021Aug 25, 2021
A card flip animation in React Native with HooksBefore I begin, I should mention it’s possible I won’t be blogging as frequently in the near future thanks to an unbelievable new…Aug 13, 2021Aug 13, 2021
Building a PostgreSQL API in JavaScript with Express and Sequelize (Part 3): token-based…Today I’m going to pick up where I left off with my basic JavaScript web API cookbook. We’ve set up two simple models and a working…Jul 29, 2021Jul 29, 2021
Published inNerd For TechNormalizing absolute SVG paths with cubic bézier conversionsThis blog post is part 3 in what’s quickly become a series about one of my favorite subjects: vector graphics—a shamefully underused way to…Jul 25, 2021Jul 25, 2021
Evaluating poker hands with lookup tables and perfect hashingToday’s blog post continues my series on computer poker with a brief exploration of lookup tables and perfect hashes. Huge thanks and…Jul 17, 2021Jul 17, 2021
Published inJavaScript in Plain EnglishTriggering File Uploads/Downloads without a Back-end in ReactToday we’re going to try something a little naughty: triggering a browser download entirely from the front-end.Jul 7, 2021Jul 7, 2021