undox
undox copied to clipboard
API proposal: merge undox argument into object.
If i want to pass limit config i need to add "initAction" and "comparator" explicitly or as undefined
undox(
_counterReducer,
{ type: "undox/INIT" },
(_) => false,
{
past: 2,
future: Infinity
}
)
I want to be able to pass only needed args, for example
undox(_counterReducer, {
limit: {
past: 2,
future: Infinity,
},
});