<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>Hackbraten</author><text>1Password’s new UI does just that.
I enter some text into a field quickly, hit Tab, then watch some of the trailing characters (or the entire field content) disappear.
This keeps occurring and disgusting me to no end.</text><parent_chain><item><author>capableweb</author><text>&amp;gt; Since the rise of cloud applications and electron based applications I&amp;#x27;m back at writing faster than the application can process my input. And I&amp;#x27;m not a fast typist.&lt;p&gt;If the application you&amp;#x27;re using (the one(s) you&amp;#x27;re referring to when you say &amp;quot;cloud applications&amp;quot;) is sending the key input to the backend and waits to render it client-side until it received a response, it&amp;#x27;s doing something horribly wrong and if that&amp;#x27;s how they write things, you probably want to avoid that for a multitude of reasons. Please name and shame though, so others can avoid it too :)&lt;p&gt;Same goes for Electron-based applications, there is no reason they&amp;#x27;d block showing the text you inputted, and if they just use &amp;lt;input&amp;#x2F;&amp;gt; without doing anything egregious, you really shouldn&amp;#x27;t be able to type faster than characters appearing on the screen, something is really, really wrong then, and I don&amp;#x27;t think it&amp;#x27;s because of Electron.</text></item><item><author>croes</author><text>He is not talking about offline applications but online applications with offline functionality.&lt;p&gt;Since the rise of cloud applications and electron based applications I&amp;#x27;m back at writing faster than the application can process my input.
And I&amp;#x27;m not a fast typist.</text></item></parent_chain></comment><story><title>Offline is just online with extreme latency</title><url>https://blog.jim-nielsen.com/2023/offline-is-online-with-extreme-latency/</url></story>
<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>doix</author><text>&amp;gt; If the application you&amp;#x27;re using (the one(s) you&amp;#x27;re referring to when you say &amp;quot;cloud applications&amp;quot;) is sending the key input to the backend and waits to render it client-side until it received a response&lt;p&gt;I&amp;#x27;m 99% sure nobody does that, that would be insane :D.&lt;p&gt;It&amp;#x27;s most likely caused by React and the use of controlled input components without thinking about performance. If your input sets it&amp;#x27;s value from React state, then you&amp;#x27;re updating the state on every keypress and re-rendering the component. In the most simple case, it&amp;#x27;s probably fine. But depending on your component hierarchy, it&amp;#x27;s pretty easy to end up in situation with over 50ms of typing latency.</text><parent_chain><item><author>capableweb</author><text>&amp;gt; Since the rise of cloud applications and electron based applications I&amp;#x27;m back at writing faster than the application can process my input. And I&amp;#x27;m not a fast typist.&lt;p&gt;If the application you&amp;#x27;re using (the one(s) you&amp;#x27;re referring to when you say &amp;quot;cloud applications&amp;quot;) is sending the key input to the backend and waits to render it client-side until it received a response, it&amp;#x27;s doing something horribly wrong and if that&amp;#x27;s how they write things, you probably want to avoid that for a multitude of reasons. Please name and shame though, so others can avoid it too :)&lt;p&gt;Same goes for Electron-based applications, there is no reason they&amp;#x27;d block showing the text you inputted, and if they just use &amp;lt;input&amp;#x2F;&amp;gt; without doing anything egregious, you really shouldn&amp;#x27;t be able to type faster than characters appearing on the screen, something is really, really wrong then, and I don&amp;#x27;t think it&amp;#x27;s because of Electron.</text></item><item><author>croes</author><text>He is not talking about offline applications but online applications with offline functionality.&lt;p&gt;Since the rise of cloud applications and electron based applications I&amp;#x27;m back at writing faster than the application can process my input.
And I&amp;#x27;m not a fast typist.</text></item></parent_chain></comment><story><title>Offline is just online with extreme latency</title><url>https://blog.jim-nielsen.com/2023/offline-is-online-with-extreme-latency/</url></story>