just like Haskell's '$' operator.
store.dispatch << setTagForm({'name': val.target.value})
Turn into
store.dispatch(setTagForm({'name': val.target.value}))
If you want to use the original pipe operator, you can disable this plugin in current scope (and it children scopes) using "no fn-call"
directive as described in the original one.
$ npm install --save-dev babel-plugin-fn-call-operator
.babelrc
{
"plugins": ["fn-call-operator"]
}
$ babel --plugins fn-call-operator script.js
require("babel-core").transform("code", {
plugins: ["fn-call-operator"]
});
MIT