rsnext/packages/next-server/lib
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
..
router Fix client-side hydration with dynamic routes (#7986) 2019-07-15 16:07:04 -07:00
amp-context.ts Clean up AMP logic and naming (#7669) 2019-06-27 10:22:24 -04:00
amp.ts Remove withAmp and do not expose isInAmpMode (#7690) 2019-06-28 15:04:24 -07:00
constants.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
data-manager-context.ts amp-bind data injection (#6840) 2019-04-02 16:09:34 +02:00
data-manager.ts amp-bind data injection (#6840) 2019-04-02 16:09:34 +02:00
dynamic.tsx Fix GIP type in /_error page (#7952) 2019-07-15 16:16:40 -07:00
head-manager-context.ts Make side-effect.js smaller (#6118) 2019-01-25 01:39:15 +01:00
head.tsx Add next-head-count & remove next-head class (#8020) 2019-07-25 16:39:09 +00:00
loadable-context.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
loadable.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
loadable.js Don’t add loadable if it’s not used (#7995) 2019-07-16 14:52:01 +02:00
mitt.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
request-context.ts Add useRequest hook and RequestContext (#6910) 2019-04-05 14:43:40 -05:00
router-context.ts Improve exported router types (#7853) 2019-07-11 13:35:39 -04:00
runtime-config.ts Add .d.ts for next-server (#7133) 2019-04-24 16:47:50 +02:00
side-effect.tsx Clean up AMP logic and naming (#7669) 2019-06-27 10:22:24 -04:00
utils.ts Revert "Improve type definitions" (#8098) 2019-07-25 13:58:24 +00:00