Go to article

The Children Prop Pattern in React

While it is one of the most underused patterns in React, the Children Prop Pattern is a powerful tool for building reusable components. But it has another aspect that makes it even more interesting to understand and use: re-renders optimization.
November 24, 20224 min read3 commentaires16 réactions
Go to article

Understanding React Hooks: JavaScript Fundamentals

Hooks are hugely related to more general JavaScript concepts like closures, memoization, and primitive vs. reference values. Correctly understanding these concepts and their role in React Hooks is essential to use them properly.
September 26, 202211 min read4 réactions
Go to article

All you need to know about React.useState

A complete guide to React.useState hook mechanisms.
August 10, 20228 min read1 réaction