rsnext/test/integration/client-navigation-a11y
Jiachi Liu 16fd15b526
Migrate head side effects to hooks (#37526)
* rewrite head side effects component in hooks
* remove mapping from element to children in head manager since they're already the children of `<Head>`

When move `SideEffect` to hooks, the effects scheduling is earlier than life cycle. We're leverage layout effects and effects at the same time, always cache the latest head updating function in head manager in layout effects, and flush them in the effects. This could help get rid of the promises delaying approach in head manager.

Co-authored-by: Shu Ding <3676859+shuding@users.noreply.github.com>
2022-06-08 11:26:57 +00:00
..
pages Give priority to document.title over h1 when announcing page change (#31147) 2021-11-08 14:58:21 +00:00
test Migrate head side effects to hooks (#37526) 2022-06-08 11:26:57 +00:00