bmcmahen / react-wysiwyg

retain some control over contenteditable input
169 stars 37 forks source link

possible race-conditions #12

Open bmcmahen opened 9 years ago

bmcmahen commented 9 years ago

in practice, this doesn't seem to be an issue, but there's the potential problem that the user input could outpace the react rendering, and characters could be dropped. I need to investigate how to make it a truly controlled input -- perhaps look at how react does it with forms, or how react-native handles the async nature of the input.