JS generators have always been a 'wow neat' kind of a thing but never found myself actually using them
Had a recursive fn that took longer than 8ms to run so it was causing jank. Rewrote it as a loop inside a generator that yielded after n iterations and jank no more 🥳