makerdao / multicall.js

Multicall.js: A JavaScript blockchain state management library for dapps
MIT License
421 stars 97 forks source link

New features for 0.9.0 #11

Closed michaelelliot closed 4 years ago

michaelelliot commented 4 years ago
levity commented 4 years ago

i have to admit, every time i see watcher.js i think about refactoring it into an ordinary ES6 Class 😅

michaelelliot commented 4 years ago

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 😝

levity commented 4 years ago

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 :)

jparklev commented 4 years ago

🎉