Support meta field
Adds a third parameter to createAction()
that creates a meta object. It receives the same arguments payload creator, but its result becomes the meta
field of the resulting action.
createAction(TYPE, payloadCreator, metaCreator);
If metaCreator
is undefined or not a function, the meta field is omitted.
Thanks @johanneslumpe for working on this