Closed yoshuawuyts closed 8 years ago
Oh, to clarify: no breaking changes. Minor version
This is cool with me if we don't mind the arrays part? (We could always Array.isArray
is if we really wanted to prevent it)
@toddself yeah, I'm not too fussed about it - feel like the assert()
calls we got is to prevent people from making lil accidental mistakes - nothing too strict - most common use case I can imagine that would occur is that they'd forget to initialize a function, so it doesn't return an object and we'd catch that and warn :sparkles:
Welp, think this is good to merge then :sparkles:
released as v8.1.0
:grin:
Allows declaring multiple hooks through
store.use(hooks)
. All hooks will now be executed on every call. Useful to register multiple handlers and stuff ✌️