Skip to content

0.5.0

Choose a tag to compare

@erykpiast erykpiast released this 30 May 21:27
· 7 commits to master since this release

Underscores on the beginning and the end of function parameter name is ignored. Group like below can work thanks to that.

let group$ = createGroup({
    def$: (_abc$) => _abc$.map((abc) => 'def')
});

group$.inject({
   abc$: Rx.Observable.just('abc')
});

Why?
Because of transpilers like babel. They like to add underscore on the beginning of parameter name if it's the same like (explicit or guessed) name of the function.