I hope it's bug free. jQuery is really a pain to reason about, so much implicit state all over the place. I thought React might've been a bit too much, but halfway through it I started reconsidering my choice :P
Wooops, when I fixed a bug (had to make the input case insensitive) I edited my post, but failed to link to the correct URLs and linked to buggy ones instead (the code one isn't even a real URL).
https://jsfiddle.net/fsc5v4v0/9/embedded/result/
And here's the code: https://jsfiddle.net/fsc5v4v0/89/
I hope it's bug free. jQuery is really a pain to reason about, so much implicit state all over the place. I thought React might've been a bit too much, but halfway through it I started reconsidering my choice :P