rsnext/packages/next/client
Gerald Monaco e68307df3a Add next-head-count & remove next-head class (#8020)
Fixes #3494

Removes `class="next-head"` from the children of the `<Head>` component. Instead, a single sentinel meta element named `next-head-count` is appended. The content is the number of contiguous elements immediately preceding the sentinel that _would have had_ the `class="next-head"` attribute.

During an update, instead of searching for `class="next-head"`, the sentinel is located and the N previous elements are considered candidates for `oldTags`. New elements are inserted before the sentinel, and finally the sentinel is updated to reflect the new count.
2019-07-25 16:39:09 +00:00
..
dev Prevent blocking while hidden (#7930) 2019-07-12 22:59:26 +02:00
head-manager.js Add next-head-count & remove next-head class (#8020) 2019-07-25 16:39:09 +00:00
index.js Don’t add loadable if it’s not used (#7995) 2019-07-16 14:52:01 +02:00
link.tsx Update link ref handling to clean up previous listeners (#7943) 2019-07-14 10:23:13 -07:00
next-dev.js Add initial static indicator (#7682) 2019-07-02 20:42:41 -04:00
next.js Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
page-loader.js Experimental module/nomodule support (#7704) 2019-07-24 22:16:32 -04:00
router.ts Revert "Improve type definitions" (#8098) 2019-07-25 13:58:24 +00:00
with-router.tsx Improve exported router types (#7853) 2019-07-11 13:35:39 -04:00