Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hoist styles for Route Announcer 📢 (#39331)
Hi, - Remove inlined CSS style which have minor performance loss. And hoist it to top of the component. > Each time you inline an object, React re-creates a new reference to this object on every render. This causes components that receive this object to treat it as a referentially different one which have some performance pitfalls. _Extremely sorry if I made any mistakes :(_
- Loading branch information