Summary: Before this diff, the input bar is unresponsive to the user input; when one typed fast enough the input doesn't reflect that as shown in the before video (the console printed the log directly when `onChange` was fired). This diff tried to store value locally and use that to render. When the component is closed, the state update will take place. This tried to solve too many state update. Reviewed By: mweststrate Differential Revision: D20489142 fbshipit-source-id: c118adc61d9234daec17782e4bbf8e4ea3dd369f
8.2 KiB
8.2 KiB