top | item 17639655

(no title)

mattlong | 7 years ago

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.

discuss

order

quabity|7 years ago

The Vue one creates new items on keyup while the React one creates them on keydown.

wensley|7 years ago

Most of them seem to be on keydown except Vue.

lowercased|7 years ago

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.