Mocking API Calls in Tests with Nuxt 3Testing plays a crucial role in the development of robust and reliable applications. When building web applications, particularly those that rely on external APIs, testing API calls becomes essential to ensure the functionality of the application und...1RApr 24, 2024 · 4 min readblog.sentiero.digital
Enhancing Scroll Experience with CSS "scrollbar-gutter"Have you ever been bothered by those disruptive jolts when scrolling, especially while opening a modal? Fear not! Enter the CSS property scrollbar-gutter—a clever solution to mitigate these unwarranted movements triggered by the appearance or disappe...Dec 19, 2023 · 2 min readblog.sentiero.digital
React + TypeScript: Implementing the Polymorphic Button ComponentAs developers, creating reusable and flexible components is a crucial aspect of building scalable applications. One powerful technique to achieve this is by developing polymorphic components. In this article, we'll explore how to create a polymorphic...Dec 7, 2023 · 2 min readblog.sentiero.digital
How to run Remix <Link /> Component in StorybookIf you've encountered the error useHref() may be used only in the context of a <Router> component while trying to integrate Remix's <Link /> component into Storybook, fear not. In this guide, we'll walk through a solution that involves creating a dec...Nov 23, 2023 · 2 min readblog.sentiero.digital