Flexbox Gotchas ReloadedImportant: this article describes a problem that cannot be reproduced with Google Chrome, only with Firefox and Edge (I did not test with other browsers). Spoiler alert: it seems like Chrome intentionally deviates from the spec standard. Intro Despit...Apr 20, 2020blog.hbarcelos.dev
TDD made simple with Mocha and ChaiIntro From the dark ol’ days of writing an entire application and only then starting to test it (often, manually) till nowadays, I have scoured a painful path of unending bug-fixing in production through the nights, many times not even knowing what w...Feb 5, 2020blog.hbarcelos.dev
Give your logs more context — Part 2Give your logs more context Building a contextual logger This is the continuation of my previous article about logging context. Check it out to better understand the purpose of what we will build. https://blog.henriquebarcelos.dev/give-your-logs-more...Feb 4, 2020blog.hbarcelos.dev
Give your logs more context — Part 1Give your logs more context How to make sense out of your Node.js web app logs Logging might be one of the most difficult things to do right when building a real world application. Log too little and you will be staring at your screen trying to make ...Feb 4, 2020blog.hbarcelos.dev
A better approach for testing your Redux codeTL;DR When testing Redux, here are a few guidelines: Vanilla Redux The smallest standalone unit in Redux is the entire state slice. Unit tests should interact with it as a whole. There is no point in testing reducers, action creators and selectors ...2SSNov 25, 2019 · 20 min readblog.hbarcelos.dev