Nicholas Jamieson
1 min readJun 15, 2018

--

Yeah, having the inputs — and the lifecycle events — available as observables that can be composed can significantly reduce the amount of code required in a component.

BTW, it’s necessary to return the proxy from the constructor, as the observables only emit notifications when properties are assigned or methods are called via the proxy. So Angular — the caller of the constructor — needs to receive the proxy.

--

--

Nicholas Jamieson
Nicholas Jamieson

Written by Nicholas Jamieson

RxJS core team member; front-end developer; mentor; speaker; open-source contributor

No responses yet