I would like to import the EffectFunction flow type in our product, so I've added that in addition to a .flowconfig file so we can run flow against the project.
I also removed lodash in a second commit. Since this library is so small the the usage of lodash is just for iterating over arrays, I removed it in favor of standard ES5 usages of forEach and reduce.
I would like to import the
EffectFunction
flow type in our product, so I've added that in addition to a .flowconfig file so we can run flow against the project.I also removed lodash in a second commit. Since this library is so small the the usage of lodash is just for iterating over arrays, I removed it in favor of standard ES5 usages of
forEach
andreduce
.