React TypeScript Hooks issue when returning array
Explains a TypeScript type inference issue when custom React hooks return arrays and provides two solutions using tuples or 'as const'.
Explains a TypeScript type inference issue when custom React hooks return arrays and provides two solutions using tuples or 'as const'.
Explores the drawbacks of using TypeScript for library development and proposes an alternative approach to gain type safety without the build step.
A developer explains and solves a TypeScript error: 'Argument of type 'interface' is not assignable to parameter of type 'interface'' in a generic wrapper function context.
A guide to different TypeScript function syntaxes, explaining when to use ':' vs '=>' for return types with practical examples.
A developer's enthusiastic personal reflection on the benefits and joys of using TypeScript for JavaScript development.
Explains the Composite design pattern using the ngrev Angular visualization tool as a practical example from open-source software.
A guide to writing TypeScript types that require minimal maintenance by leveraging type inference and utility types.
An opinionated guide on improving TypeScript code readability by using descriptive names for generic type parameters instead of single letters.
A team's journey migrating from Flow to TypeScript for better type safety and maintainability in their React/JavaScript frontend codebase.
A guide on adding TypeScript types to the fetch API, using a GraphQL Pokemon API example from EpicReact.dev workshops.
A guide to implementing function overloads in TypeScript, using a practical example of a function that returns a Promise or void.
A technical guide on creating a TypeScript-wrapped React useState hook for implementing a dark mode feature in applications.
A developer's perspective on the importance of naming in programming, offering personal rules for creating readable and maintainable code.
Learn how to use absolute imports in Next.js to simplify file imports and improve project organization with jsconfig/tsconfig.
Opinionated guide on avoiding traditional class-based OOP patterns in TypeScript in favor of simpler module-based approaches.
Argues for using TypeScript type aliases over interfaces to avoid declaration merging issues and improve code safety.
Argues against using TypeScript enums, advocating for union types due to code emission and type safety issues.
Learn how to use the VSCode debugger with AWS CDK to debug infrastructure code and inspect variables without console.log statements.
Learn to build an AWS CDK stack that sends email notifications via SNS when files are uploaded to an S3 bucket.
Tutorial on building a GraphQL server using Apollo Server and AWS CDK with TypeScript, including Lambda and API Gateway setup.