a twitter like input for new tweet using react and the useEffect hook
it updates the document title to let you know how many characters are left
the button is disabled if there ir no characters in the textarea or if there are more than 240 characters