Published inThe StartupLinters as a Learning ToolLinters are a great tool to find and fix problems in your code. It’s like having a friendly coworker that reviews your code after every…Dec 3, 2020Dec 3, 2020
Published inThe StartupHaving Fun With React’s RendererIn this post we’ll run a few experiments to see how React’s renderer works and gain a understanding of some of its guaranteed (spoiler…Oct 30, 20201Oct 30, 20201
Published inThe StartupPersisting State on React AppsPersist React’s useState to localStorage is a common requirement. You’d want to persist user’s preferences or data to have them at hand on…Sep 24, 20202Sep 24, 20202
Get Things Done by Following the Compound Effect PrinciplesSlow and steady wins the raceMay 22, 2020May 22, 2020
Value InnovationTraditional business strategy is based on beat the competition by differentiation or pricing. This approach only allows to win a portion of…May 5, 2020May 5, 2020
How to mock fields using Apollo client ⚡️Mocking Apollo is such a useful feature that it’s misused. I suggest you to start using it as soon as possible since it has too many…May 1, 2020May 1, 2020
Do you write trustworthy objects?Do you trust the objects that you create? Do you write objects and call methods on them without worries?May 2, 2018May 2, 2018
Use Response Objects to reduce bugs and improve your codeA Response Object is a value object that improves the communication between the different classes and modules in your application, making…Feb 17, 20184Feb 17, 20184
Test not null database foreign keys with RSpecSometimes you would like to let explicit in a test that, beyond ActiveRecord validations, a record can’t be saved if a related model…Sep 29, 2017Sep 29, 2017
Using ActiveRecord’s delegate methodLet’s suppose that you have the following user class:Sep 26, 2017Sep 26, 2017