3 ms·
Awesome changelog with great migration instructions. Bravo to the React team! Going to set aside some hours on Saturday to upgrade our React version. I recent
by sergiotapia 10y ago
Awesome changelog with great migration instructions. Bravo to the React team!
Going to set aside some hours on Saturday to upgrade our React version.
I recently started to go in with functional components where I don't need life-cycle events such as componentDidMount. Does anyone know if React is planning to make optimizations for code structured in this way?
- acemarke 10y agoEventually, yes. The original release notes announcing functional components mentioned that they would "eventually" add some optimizations, but many people assumed that meant they already _are_ optimized. Right now, there aren't any special optimizations for functional components.