Netanel Basal
1 min readMar 16, 2020

--

Don’t believe everything you read :)

Using a structural directive is the recommended approach. It’s DRY and efficient, as it creates one subscription per template. Moreover, the t function is memoized. It means that given the same key, it will return the result directly from the cache.

--

--

Netanel Basal
Netanel Basal

Written by Netanel Basal

A FrontEnd Tech Lead, blogger, and open source maintainer. The founder of ngneat, husband and father.

No responses yet