Designing Good Custom React Hooks
Custom hooks are where the logic you pull out of components goes to live. Here is how to design ones that are reusable instead of just relocated.
Custom hooks are where the logic you pull out of components goes to live. Here is how to design ones that are reusable instead of just relocated.
What are useMemo and useCallback used for? We go over what they are and when you might want to use them in this post.
What separates a component you're glad to reuse from one you dread touching—props design, composition, and knowing when to split.