A fully featured Password Generator built using React. https://passwrd-generator-react.netlify.app/
- Automatic password generation on page load
- Specify password length using input slider
- Include/Exclude Numbers
- Include/Exclude Special Characters
- Copy password with a single click
- On demand generation of unique passwords with generate button
- Automatic password generation on change of parameter (length, inculde/exclude numbers/characters)
useState
to store password, length, isNumberIncluded, isCharIncludeduseRef
to highlight password input on CopyuseCallback
to memoize the generatePassword() functionuseEffect
to generate password on page load