UseCases in React - DependenciesOne of the ideas of the UseCase layer is to be an interaction layer. It's where different parts of the application work together to achieve a defined result. This means we need a way to make these guys available for the UseCase before it executes its...4 min read·pubbles.hashnode.devFeb 14, 2023
Preview URLs with Azure Pipeline + Firebase HostingIntroduction I recently had to implement an Azure pipeline for a Next.js app. Giving a Pull Request on our remote repository, the requirements were: On a Pull Request update, deploy the web app of this version on a preview URL. For this, we have to ...4 min read·pubbles.hashnode.devFeb 8, 2023
UseCases in React - AnatomyIn the first article, I introduced the UseCases and its advantages. Now let me show you how it looks from the inside and how I use it from my components. Success and Error You remember that a UseCase is an async function that returns an object contai...5 min read·pubbles.hashnode.devFeb 1, 2023
UseCases in React - IntroductionI have been struggling a lot with huge and complex React components. We usually write too much logic inside them. Also, we see no problem on mix this logic with third-party libraries. These practices along with local state management using hooks and ...4 min read·pubbles.hashnode.devJan 27, 2023