Closed michaelelliot closed 4 years ago
i have to admit, every time i see watcher.js i think about refactoring it into an ordinary ES6 Class 😅
i have to admit, every time i see watcher.js i think about refactoring it into an ordinary ES6 Class 😅
That was the original design, but we ended up going full functional instead 😝
i have to admit, every time i see watcher.js i think about refactoring it into an ordinary ES6 Class 😅
That was the original design, but we ended up going full functional instead 😝
Really going full functional would be one thing... but when you have a big state
object and a bunch of this
references, let's be real, you're just building a class in a weird way :)
🎉
poll()
methodonPoll()
subscription