rsnext/test/integration/client-navigation
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
..
components Format missed files (#7464) 2019-05-29 18:19:32 -07:00
lib Upgrade styled-jsx (#19241) 2020-11-17 16:53:35 +00:00
pages Migrate head side effects to hooks (#37526) 2022-06-08 11:26:57 +00:00
public fix(next/head): assign bool attrs to match server (#20748) 2021-01-04 19:57:52 +00:00
test Migrate head side effects to hooks (#37526) 2022-06-08 11:26:57 +00:00
next.config.js Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00