React Native Heroes 2024

React Native Heroes 2024

Federico Mastrini

I'm a software engineer from a little town in Lunigiana, a beautiful land in the middle of Apuan Alps in Tuscany, Italy. I currently work at PagoPA as a Mobile Software Engineer in the IO app team.
When I'm not coding, I enjoy playing video games, lifting weights at the gym, and taking long walks.


Your company

PagoPA S.p.A.

Your job title

Mobile Software Engineer


Session

05-31
10:20
40min
Unleashing the Potential of XState in React Native
Federico Mastrini

Complex flow management within React Native applications can quickly become a challenging task, often leading to tangled code and difficult debugging. Fortunately, the integration of XState, a powerful state management library, presents a compelling solution.
In this talk, we will delve into the core concept of using XState in React Native to simplify intricate flows within our applications. By harnessing the power of finite state machines and state charts, we can unlock a new level of simplicity and clarity in our codebase.
Through practical examples and real-world scenarios, we will demonstrate how XState empowers React Native developers to tame complexity by breaking down intricate flows into manageable states and transitions. We will explore the benefits of this approach, including improved code readability, better maintainability, and enhanced developer productivity.
Additionally, we will discuss advanced techniques for handling asynchronous processes and managing side effects using XState. By leveraging XState's elegant solutions for asynchronous operations, we can effortlessly handle complex flows involving API calls, user interactions, and state updates.

Auditorium