usernameof this input is stored in React component state.
usernamechanges, the new username is passed to the stream. Any blank strings are filtered from the stream, and then the usernames are debounced for one second.
handlersets the payload of any effect with a type of
USER_DATA_RECEIVEinto state, ready to be displayed in the UI.