Discriminated Unions and Destructuring in TypeScript
Explains how destructuring breaks TypeScript's discriminated union type narrowing and offers workarounds.
Explains how destructuring breaks TypeScript's discriminated union type narrowing and offers workarounds.
Argues for using declarative state updater functions in React instead of inline 'naked state setters' for better code clarity and maintainability.
A technical guide on implementing pagination for DynamoDB queries using the AWS SDK for TypeScript and Node.js with async generators.
A tutorial on building a RESTful CRUD API using TypeScript with the NestJS and FoalTS frameworks, covering setup, controllers, and routes.
Explains a TypeScript error where assigning object properties results in a 'never' type due to unexpected intersection types.
Explains a TypeScript type narrowing issue with Array.includes when using const assertions and how to work around it.
A React developer shares personal opinions on structuring projects, advocating for single-file components and avoiding unnecessary sub-folders.
A guide to defining common prop types like primitives, objects, arrays, unions, and functions in TypeScript for React components.
Explains PropTypes for runtime type checking in React and compares it to using TypeScript's static types for better developer experience.
A guide to structuring React Query keys effectively for caching, automatic refetching, and manual cache interactions in React applications.
A developer announces their new weekly Twitch stream dedicated to JavaScript, covering katas, Q&A, and community interaction.
A tutorial on building a TypeScript-based API using the FoalTS framework, covering setup, routing, and controllers.
A developer shares lessons from scaling a large Vue.js application over 3 years, covering modular architecture, micro-frontends, and state management.
A guide to creating script management for Deno projects, similar to npm scripts in Node.js, using a custom TypeScript runner.
A guide to using TypeScript effectively with React Query, covering generics, type inference and common pitfalls for type-safe data fetching.
A guide to enabling TypeScript intellisense for CSS Modules in VSCode using a specific npm plugin, without needing extensions.
A tutorial on building a serverless click tracker using the HTML ping attribute and AWS Lambda for transparent, cookie-free website analytics.
A deep dive into the Preact JavaScript library's source code, analyzing its architecture, TypeScript usage, and code efficiency.
A developer shares their experience and step-by-step process for converting a Gatsby.js blog from JavaScript to TypeScript, including setup and common issues.
A technical guide on how to correctly type generic React components that use forwardRef in TypeScript for enhanced type safety.