You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<inputplaceholder="Enter a username"className="usernameInput"type="text"/>
<buttonclassName="letsGoButton">Let's Go</button>
</form>
You can attach the change listener to the enclosing form element and it'll let you handle the changes of all child input elements if that's better for your use case too.
ReactWeek-Martha-Georgia/src/components/Dropdown.js
Lines 5 to 10 in b9507cf
You can set the change listeners directly on the JSX component, then you don't need to worry about managing listeners manually on mount/unmount.
The text was updated successfully, but these errors were encountered: