InThe StartupbyGiovanni Benussi·Dec 3, 2020Linters 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…
InThe StartupbyGiovanni Benussi·Oct 30, 2020Having 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…A response icon1A response icon1
InThe StartupbyGiovanni Benussi·Sep 24, 2020Persisting 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…A response icon2A response icon2
Giovanni Benussi·May 22, 2020Get Things Done by Following the Compound Effect PrinciplesSlow and steady wins the race
Giovanni Benussi·May 5, 2020Value InnovationTraditional business strategy is based on beat the competition by differentiation or pricing. This approach only allows to win a portion of…
Giovanni Benussi·May 1, 2020How 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…
Giovanni Benussi·May 2, 2018Do you write trustworthy objects?Do you trust the objects that you create? Do you write objects and call methods on them without worries?
Giovanni Benussi·Feb 17, 2018Use 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…A response icon4A response icon4
Giovanni Benussi·Sep 29, 2017Test 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…
Giovanni Benussi·Sep 26, 2017Using ActiveRecord’s delegate methodLet’s suppose that you have the following user class: