A simple project created to explain two ways of how to handle useEffect running twice by the new Stricted Strict Mode.
-
Updated
Sep 29, 2022 - JavaScript
A simple project created to explain two ways of how to handle useEffect running twice by the new Stricted Strict Mode.
A React-Strict-Mode Example using Webpack
The LettersCalculator component allows users to enter a phrase, and it dynamically counts the number of letters typed. The UI is styled with responsive CSS, and the count updates automatically as users type.
Add a description, image, and links to the react-strict-mode topic page so that developers can more easily learn about it.
To associate your repository with the react-strict-mode topic, visit your repo's landing page and select "manage topics."