← Back to FrontendMasters.com
Courses Learn Become a Member Guest Writing
RSS
/ BLOG
Author Archive for

Teng Wei Herr

Post Thumbnail for React Internals: Which useEffect runs first?
JavaScriptReactReact HooksuseEffect

React Internals: Which useEffect runs first?

By Teng Wei Herr on April 28, 2025

It’s not particularly obvious, but a child’s useEffect will run before a parent’s will. Let’s look at why.

Author

Teng Wei Herr
Teng Wei Herr
MoneyLion
Teng Wei Herr is a web engineer at MoneyLion, writing about web engineering, R&D, and performance optimization.
Website GitHub Profile LinkedIn Profile

Did you know?

Frontend Masters Donates to open source projects. $363,806 contributed to date.

See all 40+ open source project donations by Frontend Masters on Open Collective and thanks.dev.
  • Courses
  • Learn
  • Teachers
  • Guides
  • Blog
  • FAQ
  • Login
  • Join Now
  • RSS
Twitter LinkedIn Facebook Instagram RSS
Frontend Masters App on the Apple App Store Frontend Masters App on Google Play
Contact: support@frontendmasters.com
Frontend Masters is proudly made in Minneapolis, MN
©2024 Frontend Masters · Terms of Service · Privacy Policy