justiceotuya.hashnode.devBlock, Procs and Lambda in RubyAs a Javascript developer, I was used to calling functions by writing their name followed by a bracket that may or may not take arguments. However, when I switched to Ruby, I had to adapt to a new system where I could call a function without the brac...Feb 9, 2024·6 min read
justiceotuya.hashnode.devUnderstanding "If" vs "unless" in rubyIn my quest to learn the Ruby programming language as a Javascript engineer the unless conditional keyword was a new one for me. At the end of this post, it is expected that the user should be able to understand the unless conditional Ruby keyword an...Jan 30, 2024·2 min read
justiceotuya.hashnode.devUsing React Query to Effectively Handle Server Errors and Improve User ExperiencePreviously, we discussed how to replace your redux code by integrating React Query into your codebase and delegating data fetching and server state management. But in the everyday world, there might be errors from the API that limits what React query...Dec 25, 2022·6 min read
justiceotuya.hashnode.devReact Query - You may not need ReduxOver the years, people have asked me to help them debug their redux/redux tool kit code. Oftentimes, these debug sessions always lead me to recommend React query because of its efficiency and effectiveness. This often results in them not only adoptin...Nov 23, 2022·7 min read