CBCamille Briandincamillebriand.hashnode.dev·Nov 3, 2023 · 1 min readTIL: It is not possible to use overflow-x: scroll and overflow-y: visible at the same timeOn several browsers, using the visible value for the overflow-x or overflow-y properties will not behave as expected as soon as you specify any other value than visible for the other overflow property. In such cases, the visible is silently overridde...00
CBCamille Briandincamillebriand.hashnode.dev·Oct 20, 2023 · 1 min readTIL: How to type an array in Typescript to express this array has at least 1 elementBy default when typing an array in Typescript I would do the following: const myArray: T[] = ... // operation that returns an array of type T However when I'm certain this array has at least one element or when I want to type a function parameter th...00
CBCamille Briandincamillebriand.hashnode.dev·Jan 21, 2022 · 6 min readLeveraging Dependency Injection for more modular Vue 3 applicationsFor certain applications it is sometimes convenient to leverage an inversion of control / a dependency injection mechanism. I ran into this problem while designing the architecture of a web 3 decentralized application that must be available on severa...00
CBCamille Briandincamillebriand.hashnode.dev·Jul 31, 2021 · 2 min readPart 2: Setting up the monorepoThere are several tools for creating and managing monorepos, so I will use my tool of choice here and the ways to use them may differ. I personally discovered creation and management of monorepos using npm but for this series I will use the yarn pack...00
CBCamille Briandincamillebriand.hashnode.dev·Jul 31, 2021 · 3 min readThe Benefits and Drawbacks of using Monorepos for modern web developmentAt my new job I recently had to refactor several React JS projects to React Typescript. What struck me then was the considerable portion of duplicated code among several projects that had basically a common core: user authentication, custom settings ...00