Skip to content

Commit 65b4f6b

Browse files
authored
Test whether reducing bits leads to memory improvements (#4586)
1 parent 42524db commit 65b4f6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/constants.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ export const MODE_HYDRATE = 1 << 5;
33
/** Signifies this VNode suspended on the previous render */
44
export const MODE_SUSPENDED = 1 << 7;
55
/** Indicates that this node needs to be inserted while patching children */
6-
export const INSERT_VNODE = 1 << 16;
6+
export const INSERT_VNODE = 1 << 2;
77
/** Indicates a VNode has been matched with another VNode in the diff */
8-
export const MATCHED = 1 << 17;
8+
export const MATCHED = 1 << 1;
99

1010
/** Reset all mode flags */
1111
export const RESET_MODE = ~(MODE_HYDRATE | MODE_SUSPENDED);

0 commit comments

Comments
 (0)