BTBrett Thurstoninbrettthurston.com·Oct 17, 2023 · 15 min readHow I built my AI powered book insights appBrief introductions Hi, my name is Brett Thurston. I'm a developer and maker who enjoys working in the front-end spectrum of development and design. I've made an app and wanted to recap some highlights and lessons learned from my journey so far. I'd ...00
BTBrett Thurstoninbrettthurston.com·Jun 14, 2022 · 11 min readPrevent Acid Redux with Redux ToolkitWant to learn how to manage a single source of truth for your application? This post is going to help you get rid of the acid Redux associated with trying to use vanilla Redux. Acid Redux, for those who have never suffered it, is when you attempt t...02MA
BTBrett Thurstoninbrettthurston.com·May 25, 2022 · 5 min readPrevent re-renders with useRefThere may be times when you don't want to trigger renders when capturing data from the user. useState, by now, is a well known and handy hook since it was implemented in React 16.8. When setting our state variable with useState, it causes a render of...00
BTBrett Thurstoninbrettthurston.com·May 12, 2022 · 3 min read✨ Conditional rendering in React with finesseSo if you've spent a measure of time with React you'll come across the scenario of needing to render an element based on a condition. For example, what if you had a component that counted something. And you wanted to show the actual count in a compon...00
BTBrett Thurstoninbrettthurston.com·Feb 5, 2021 · 6 min readA snippy JS function to trim those long stringsIn this article you'll find a method to use whenever you have a long string that may funk up your UI components. I was working on a list item component for a project and found a problem we run into a lot. What I have is a list of cards that bring in...01M