Posts
All the articles I've posted.
Understanding useRef and useState for Tracking Component Render Count in React
Published: at 08:00 PMThis post explains useRef and useState usage in React by creating a custom hook to track component render count without extra re-renders. useRef stores render count while useState manages multiple state values independently, allowing efficient updates and improved code readability.
Using useCallback Correctly in a Simple Next.js 13 Component
Published: at 08:00 PMThis post demonstrates using the useCallback hook in a Next.js 13 component for better performance. It shows how to create a simple Counter component with a button that increments the count, utilizing useCallback to avoid unnecessary re-renders.
AI-driven Built-in Degradation and Enhancement in Next.js React Apps on Vercel
Published: at 08:00 PMAI-driven degradation and enhancement in Next.js and Vercel empower developers to create adaptable, cost-effective web apps that seamlessly handle fluctuating loads and maintain a robust user experience.
ChatGPT Problems in Coding React Apps
Published: at 08:00 PMChatGPT is awesome for helping in programming, but it's not up to the task of being an expert system. It often gives poor programming advice
Building a Bootstrap 5 Legend with the Help of ChatGPT
Published: at 08:00 PMSee the dialog between me (a software dev) talking to ChatGPT to build a simple legend using ChatGPT. As a non bootstrap wizard, this only took me about 2 minutes in total and I got a very impressive legend built in Bootstrap 4 as a React / TypeScript component.