Skip to main content
Filippo Rivolta Frontend Developer Lead Fullstack Developer
Curriculum PDFFantasia, My Pet Project

Filter

Frontend Development

Function Composition in Large React Applications:

Function composition is a powerful technique for building complex functionality by combining simple, reusable functions. In the context of React, function composition can be used to create more sophisticated and reusable components, improving the organization and structure of code in larger applications.
6 Settembre 20238 min Read More
Best PracticesFrontend Development

Typing React Context to avoid an undefined default value

React Context API is really useful when it comes to sharing data between disconnected components without prop drilling.
3 Settembre 20235 min Read More
Frontend Development

Write better React, compose multiple functional HoCs, Higher-Order Components

In a previous article, I wrote about the concept of chaining functions using pipe and compose. Today I would like to extend this topic by providing you some scenarios where I found function composition can become really handy in the everyday life of a front-end developer using React applying multiple Higher-Order Components in a more functional way!
3 Settembre 20235 min Read More
Frontend Development

Write better JavaScript, function composition with pipe and compose

When I started my journey into functional programming I found myself thinking of it as both exciting and confusing. One of the core concepts I found useful in my everyday work is function composition, thanks to its intuitive nature it’s not hard to introduce it even in a well-established codebase.
3 Settembre 20234 min Read More
Screenshot of an article discussing various methods to merge two large arrays in JavaScript without duplicates. The article includes code samples and performance metrics for each method, ultimately recommending the use of the ES6 Set feature for best performance.
Frontend Development

Javascript merge arrays without duplicates

An in depth approach on how to merge two or more arrays without duplicates with a keen eye for performance!
4 Settembre 20233 min Read More
Frontend Development

Why you should use generic types in TypeScript, a simple example

TypeScript has a steep learning curve, at least for me, for a front-end developer used to write without types sometimes I struggled to change my way of thinking to my code.
3 Settembre 20234 min Read More