rxjs-autorun icon indicating copy to clipboard operation
rxjs-autorun copied to clipboard

Renaming functions and-or adding aliases

Open kosich opened this issue 3 years ago • 3 comments

While $, _ function names are short and are unobtrusive, I think we'll need more descriptive names. Also, run function name doesn't reflect well what it does (as it doesn't immediately run the expression) and is not conventional.

Maybe autorun needs renaming too.

As suggested by @fkrasnowski run could be renamed to something like computed or derived or autopiped

$ and _ as indirectly indicated by @voliva could have additional export aliases, like track (watch, observe, or …) and read (silent, muted, sample, untracked, or …)

Let me know what you think

kosich avatar Sep 28 '20 11:09 kosich