Open-Closed Principle in JavaScript and TypeScript
Explains the Open-Closed Principle (OCP) from SOLID, demonstrating its implementation in JavaScript/TypeScript with code examples.
Explains the Open-Closed Principle (OCP) from SOLID, demonstrating its implementation in JavaScript/TypeScript with code examples.
A developer's 2019 year in review, focusing on open-source contributions to projects like Gatsby, TypeScript, and DEV.
A tutorial on implementing both built-in and custom validations for template-driven forms in Angular, including username availability and password matching.
A tutorial on implementing built-in and custom validations for reactive forms in Angular, including username availability and password matching.
A developer shares their journey learning React, TypeScript, Gatsby, and Python while transitioning from UWP development and contributing to open-source projects.
A guide on how to start adding tests to a large, existing codebase, focusing on the Testing Trophy methodology for the best return on investment.
Explains boolean values in JavaScript and TypeScript, including truthy/falsy values, the Boolean function, and TypeScript's boolean type.
Explains the void operator in JavaScript and the void type in TypeScript, highlighting their differences and common use cases.
An explanation of the Symbol primitive in JavaScript and TypeScript, covering creation, uniqueness, and use cases.
A developer explains their journey from skepticism to embracing TypeScript, highlighting its benefits for modern JavaScript development.
A guide to extending TypeScript's JSX interfaces for React to support new HTML attributes like lazy loading.
Explains how to validate mapped types and use const context in TypeScript for better type safety with object keys.
A guide to using JavaScript's optional chaining operator (?.) to safely access deeply nested object properties, reducing boilerplate null checks.
A TypeScript guide on using conditional types to enforce exact object shapes, preventing extra properties.
Explains the constructor interface pattern in TypeScript to solve instantiation issues with abstract classes in structural typing.
A developer details their migration from Jekyll to Gatsby for a static blog, citing React/TypeScript skills and benefits of Netlify hosting.
A guide exploring 5 popular ways to style React components with TypeScript, focusing on type safety and integration.
The author has added a new chapter on render props to their existing TypeScript and React guide.
A new chapter on using PropTypes with TypeScript in React applications has been added to the author's guide.
A guide on using TypeScript with React to improve development with type safety, autocompletion, and better tooling.