← 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
$839,000

Frontend Masters donates to open source projects through thanks.dev and Open Collective, as well as donates to non-profits like The Last Mile, Annie Canons, and Vets Who Code.

  • 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