使用Player FM应用程序离线!
Safety and idempotence
Manage episode 265272021 series 1635850
Sam and Ryan talk – again – about the best way to write side effects in React applications. Ryan shares his approach based on his recent work in several React apps, and talks about the pitfalls of using useEffect's dependency array as a mechanism for control flow. Sam also talks about his recent video on React Router and why it's important to use the entire route hierarchy when determining whether a link is active.
Topics include:
- 0:00 – Processes, workflow and deadlines
- 12:00 – How should you think of useEffect's dependency array
- 38:00 – Routing in React Router v6
Links:
185集单集
Manage episode 265272021 series 1635850
Sam and Ryan talk – again – about the best way to write side effects in React applications. Ryan shares his approach based on his recent work in several React apps, and talks about the pitfalls of using useEffect's dependency array as a mechanism for control flow. Sam also talks about his recent video on React Router and why it's important to use the entire route hierarchy when determining whether a link is active.
Topics include:
- 0:00 – Processes, workflow and deadlines
- 12:00 – How should you think of useEffect's dependency array
- 38:00 – Routing in React Router v6
Links:
185集单集
همه قسمت ها
×欢迎使用Player FM
Player FM正在网上搜索高质量的播客,以便您现在享受。它是最好的播客应用程序,适用于安卓、iPhone和网络。注册以跨设备同步订阅。