Harry Yates
I'm a web developer focused on TypeScript, React, and Three.js.
TypeScript's ReturnType enhances code maintainability by automating type consistency across functions, ensuring robust and error-free development.
useCallback in React helps prevent unnecessary re-renders by memorising functions.
Optimises performance by memoising values, recalculating only when dependencies change.
In TypeScript, generic constraints are like bouncers at a club, allowing only certain types to enter.
Exploring GSAP for Next.js projects: Ideal for complex, dynamic animations requiring cross-browser reliability and performance. Assess needs vs. performance impact.
How to use Fetch's POST method in React for submitting form data. Simplify sending user inputs from the frontend to your server with ease
Embarking on 3D web development with Blender, GSAP, WebGL, and Three.js—an eager dabbler piecing it together one learning curve at a time.
Exploring the shift from Gatsby to Next 14, I assess reasons, benefits, and drawbacks, questioning if Gatsby's SSG approach is becoming outdated.
Generics ensure functions handle various types while maintaining input-output type consistency, crucial for flexible, type-safe coding.
A callback is essentially a function that you pass into another function as an argument, which is then invoked inside the outer function to complete some kind of routine or action.
Having spent most of this morning looking for a Hydration bug and eventually finding it, it seemed like a good idea to post some learnings.
useRef in React acts like a bookmark for elements or a pocket for mutable values. It persists through re-renders without triggering updates.
TypeScript tuples ensure type safety and clarity in arrays, allowing fixed sizes and easy integration with other features. They're like smart, labelled boxes for data.
Exploring full-stack Next.js projects, aiming for multi-user apps. Focusing on ThreeJS for 3D modeling and enhancing JavaScript skills. Planning to adopt a testing framework soon.
Creating a custom name type using a type alias
To ban or not to ban?
How does it work, and what are the tangible benefits and potential downsides of adopting TypeScript in your projects?
Back to basics with TypeScript. Documenting my notes as I work through the course by Jad Joubran.
The idea here is rather than an about page. I'll document notes so it's clear where my brain and focus are. I hope this informal/regular posting of weeknotes will form a habit. Let's see...