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...Feb 14, 2023 · 4 min readpubbles.hashnode.dev
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 ...Feb 8, 2023 · 4 min readpubbles.hashnode.dev
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...Feb 1, 2023 · 5 min readpubbles.hashnode.dev
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 ...Jan 27, 2023 · 4 min readpubbles.hashnode.dev