babel-plugin-dispatch-call
Basically macros dispatch(fn(...args))
to be dispatch({ type: '__function_call_obj', fn: func, args: [args] })
dispatch(fn(...args))
to be dispatch({ type: '__function_call_obj', fn: func, args: [args] })
Bytes is a JavaScript newsletter you'll actually enjoy reading.
Delivered every Monday, for free.