diff --git a/packages/core/src/hydration/utils.ts b/packages/core/src/hydration/utils.ts index a6980bf3719..9d288ca2cce 100644 --- a/packages/core/src/hydration/utils.ts +++ b/packages/core/src/hydration/utils.ts @@ -23,7 +23,7 @@ import {CONTAINERS, DehydratedView, DISCONNECTED_NODES, ELEMENT_CONTAINERS, MULT * The name of the key used in the TransferState collection, * where hydration information is located. */ -const TRANSFER_STATE_TOKEN_ID = '__ɵnghData__'; +const TRANSFER_STATE_TOKEN_ID = '__nghData__'; /** * Lookup key used to reference DOM hydration data (ngh) in `TransferState`. diff --git a/packages/platform-server/test/hydration_spec.ts b/packages/platform-server/test/hydration_spec.ts index c42880d87d8..cbdb911864f 100644 --- a/packages/platform-server/test/hydration_spec.ts +++ b/packages/platform-server/test/hydration_spec.ts @@ -34,7 +34,7 @@ const TEXT_NODE_SEPARATOR_COMMENT = 'ngtns'; const SKIP_HYDRATION_ATTR_NAME = 'ngSkipHydration'; const SKIP_HYDRATION_ATTR_NAME_LOWER_CASE = SKIP_HYDRATION_ATTR_NAME.toLowerCase(); -const TRANSFER_STATE_TOKEN_ID = '__ɵnghData__'; +const TRANSFER_STATE_TOKEN_ID = '__nghData__'; const NGH_ATTR_REGEXP = new RegExp(` ${NGH_ATTR_NAME}=".*?"`, 'g'); const EMPTY_TEXT_NODE_REGEXP = new RegExp(``, 'g');