rsnext/packages/next-server
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
..
lib Add next-head-count & remove next-head class (#8020) 2019-07-25 16:39:09 +00:00
server Add next-head-count & remove next-head class (#8020) 2019-07-25 16:39:09 +00:00
types Configuration for body parsing size limit (#7896) 2019-07-25 15:43:55 +00:00
amp.d.ts Remove withAmp and do not expose isInAmpMode (#7690) 2019-06-28 15:04:24 -07:00
amp.js Fix syntax error in ie11 from next-server/amp (#8032) 2019-07-18 22:09:41 -04:00
config.d.ts Add .d.ts for next-server (#7133) 2019-04-24 16:47:50 +02:00
config.js next-server (#5357) 2018-10-02 00:55:31 +02:00
constants.d.ts Add .d.ts for next-server (#7133) 2019-04-24 16:47:50 +02:00
constants.js Fix linter (#5350) 2018-10-20 17:00:01 +02:00
dynamic.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
dynamic.js next-server (#5357) 2018-10-02 00:55:31 +02:00
head.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
head.js next-server (#5357) 2018-10-02 00:55:31 +02:00
index.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
index.js Use correct server path since main was changed 2018-10-02 23:11:01 +02:00
license.md Zeit -> ZEIT (#5804) 2018-12-03 23:01:23 +01:00
next-config.js Add Typescript types for builds functions (#5791) 2018-12-03 14:18:52 +01:00
package.json v9.0.3-canary.2 2019-07-19 16:52:53 -04:00
taskfile-typescript.js Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
taskfile.js Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
tsconfig.json Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00