Typecript: Overloading functions with tuplesUse tuples in typescript to overload functions with different types and number of arguments3 min read路alecode.hashnode.devApr 24, 2022
Avoiding unexpected calls from useEffect on re-renders with useCallback and useRef approachespassing callbacks from one component down to another on props is a cause of unexpected multiple calls on re-renders3 min read路alecode.hashnode.devSep 19, 2021
NextJS Intl: Mixed-up markup translationsToday will talk about how to handle complex translations with HTML elements in the middle with NextJS Intl . Prerequisites Would assume you have heard already about NextJS Intl or a similar library. If not, take a look at the link added previously. ...1 min read路alecode.hashnode.devAug 17, 2021
Illustrating: The power behind JS Array.reducerArray API during the latest years is becoming more and more powerful, there are a lot of useful functions that we can rely on every day, but one that has many use cases when transforming arrays into other types: objects, strings, numbers and you cont...2 min read路alecode.hashnode.devAug 2, 2021
Use Cases: Lazy Loading with React SuspenseLazy loading is an approach to load incrementally parts 馃殌 of your app, these could be a route component that is not used often or even a component that depends on heavy dependencies, we'll focus on these 2 use cases. FYI: there is part of this API...2 min read路alecode.hashnode.devJul 22, 2021