I’m new to ember.js, and the tutorial is extremely helpful and in depth! I’ve noticed the “super-rentals” tutorial app has a race condition, and I think it would be tremendously valuable to implement the fix as another section in the tutorial.
Specifically, the “filter by city” search feature does not properly update if I type and then backspace in quick succession. This seems like a race condition, and being new to ember.js, I have no idea where to even begin fixing it. This kind of issue is one of the reasons ember.js (and client-side programming in general) is so daunting for me, and learning how to approach the problem would remove a big barrier to adoption for people like me.
I have deep background in server-side C#, which is very literal and orthogonal, so the highly flexible, expressive syntax of JS hides what looks like a lot of magic. Fixing a common real-world problem like an async race condition would be a great way to demystify how these things work for new learners.
Is there anyone who could demonstrate a fix?