TypeScript: React useState Hook
A guide on using TypeScript with React's useState Hook, covering type inference and explicit type arguments for complex state.
Personal blog about React and JavaScript
333 Articles from this blog
A guide on using TypeScript with React's useState Hook, covering type inference and explicit type arguments for complex state.
A guide on using React's useRef Hook with TypeScript, covering HTML element refs and mutable instance variables.
A former gamer reflects on how modern games remove the 'grind' and how that work ethic was a valuable life lesson for entrepreneurship.
Explains the differences between React Elements, Components, and Instances with code examples.
A guide explaining the evolution from simple websites to complex full-stack web applications, clarifying key web development terminology.
Explains the React 'as' prop, a technique for dynamically changing rendered HTML elements in components for semantic and styling flexibility.
Explains React's batching feature for state updates, its performance benefits, and changes in React 18.
A guide to React Higher-Order Components (HOCs), focusing on conditional rendering and functional programming principles.
A beginner's guide to creating, using, and making reusable button components in React with event handling examples.
A tutorial on creating a custom React Hook called 'useBoolean' to manage stateful boolean values more efficiently.
A React tutorial on using local storage with custom hooks to persist state, including session storage and caching.
A tutorial on creating a custom React Hook to synchronize component state with the browser's local storage.
A custom React Hook to calculate and return the scrollbar width, useful for resolving layout issues in applications.
A tutorial on creating a custom React hook to detect clicks outside a component, useful for closing dropdowns or dialogs.
A guide to creating a custom React Hook that detects whether a user is scrolling up or down on a webpage.
A detailed guide explaining React props, including how to pass data between components, destructuring, and common pitfalls.
A tutorial on implementing a fixed (sticky) column in a React table using the React Table Library.
A tutorial on building a REST API using Express.js and PostgreSQL, covering database integration and CRUD operations.
A tutorial on connecting a PostgreSQL database to an Express.js application using the Sequelize ORM.
A guide on integrating Prettier and ESLint in a JavaScript project to combine automated code formatting with code quality linting.