“10 Hidden Features of React You Didn’t Know About” 🪐
Published in
4 min readSep 7, 2023
This article sheds light on ten of these hidden features, complete with code snippets showcasing incorrect and correct usage.
{IMPORTANT: THE SECOND CODE SNIPPET DISPLAYS THE CORRECT METHOD OF EACH FEATURE}
1. React.memo
The React.memo is a higher-order component that memoizes your functional components…