News for hackers. Stuff that matters.
Re:I created the exact same app in React and Vue by mattlong on Sunday July 29, 2018 @02:50PM (#17639655)
Thanks for the link! I just played around with the React and Vue.js implementations. With the Vue.js implementation, there is a perceptible lag (maybe ~300ms) between pressing Enter and the new item appearing in the list. With the React version, the same action is essentially instantaneous. Curious if anyone else is experiencing the same and/or knows what might be the cause.
Re:I created the exact same app in React and Vue by quabity on Sunday July 29, 2018 @04:05PM (#17639998)
The Vue one creates new items on keyup while the React one creates them on keydown.
Re:I created the exact same app in React and Vue by wensley on Sunday July 29, 2018 @05:53PM (#17640486)
Most of them seem to be on keydown except Vue.
Re:I created the exact same app in React and Vue by lowercased on Sunday July 29, 2018 @03:18PM (#17639785)
i noticed a lag in the vue one only on the first entry - everything else was basically instant (less lag than I could perceive). Basically instant on react too, although I tested that one separately. Too lazy to clear browsers and test again.