Events As A Communication Pattern
- 15:10
- -
- 15:25
June 24, 2024
15:25
15:10
Hall A
English | Intermediate | React Focus
Working with any framework eventually develops a mindset for its best practices, and React is no different.
After years of experience working with React, I've become accustomed to thinking that the communication methods we've always been using (context, parent-child, child-parent) are the only ways to communicate with React components.
When you start looking at your application with a framework agnostic mindset, questions starts popping up, "Can I send custom events in React?", "What's the right way of doing it?", "Is it an anti-pattern to work with events in React?", etc...
This lecture will cover exactly these questions, and how to use Custom Events with React, and which pitfalls to avoid.