Learning Time Roundup: August 2021
Here’s a list of programming articles I found useful this month.
- An important tip for writing tests for JavaScript functions that return boolean values: use the
toBe(true)
andtoBe(false)
checkers instead of thetoBeTruthy()
andtoBeFalsy()
matchers. The truthiness checkers coerce the parameter into a boolean meanining the method could be returning information you don’t want to expose; thetoBe
checker solves this issue by verifying exact type. - The second article on this list showed me how to add a table with editable rows in an Angular reactive form.
- Lastly here’s a primer on Reactive Programming on GitHub. I probably want to make this required reading for teammates when they start their progression toward using RxJS and NgRx.