hoodiehq / hoodie-client

:dog: Client API for the Hoodie server
Apache License 2.0
34 stars 25 forks source link

pass options to plugins #149

Closed gr2m closed 7 years ago

gr2m commented 7 years ago

closes #148

mbad0la commented 7 years ago

LGTM! đź‘Ť

gr2m commented 7 years ago

Thanks for the review @mbad0la, these are good questions! As mention several times we are omitting this altogether as it’s the root of a lot of headache in the JavaScript world. Instead we are implementing Hoodie in a more functional way by passing in state to our api methods. That way it’s also very easy to unit test them :)