Commit 664b936 1 parent f66dc55 commit 664b936 Copy full SHA for 664b936
File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -30,10 +30,10 @@ import {getParentSuspenseInstance} from './ReactDOMHostConfig';
30
30
const randomKey = Math . random ( )
31
31
. toString ( 36 )
32
32
. slice ( 2 ) ;
33
- const internalInstanceKey = '__reactFiber $' + randomKey ;
34
- const internalEventHandlersKey = '__reactEvents $' + randomKey ;
35
- const internalContainerInstanceKey = '__reactContainer $' + randomKey ;
36
- const internalEventListenersKey = '__reactListeners $' + randomKey ;
33
+ const internalInstanceKey = '__reactInternalInstance $' + randomKey ;
34
+ const internalEventHandlersKey = '__reactEventHandlers $' + randomKey ;
35
+ const internalContainerInstanceKey = '__reactContainere $' + randomKey ;
36
+ const internalEventListenersKey = '__reactEventListeners $' + randomKey ;
37
37
38
38
export function precacheFiberNode (
39
39
hostInst : Fiber ,
Original file line number Diff line number Diff line change 21
21
* supported we can rename it.
22
22
*/
23
23
export function remove ( key ) {
24
- key . _reactInternals = undefined ;
24
+ key . _reactInternalFiber = undefined ;
25
25
}
26
26
27
27
export function get ( key ) {
28
- return key . _reactInternals ;
28
+ return key . _reactInternalFiber ;
29
29
}
30
30
31
31
export function has ( key ) {
32
- return key . _reactInternals !== undefined ;
32
+ return key . _reactInternalFiber !== undefined ;
33
33
}
34
34
35
35
export function set ( key , value ) {
36
- key . _reactInternals = value ;
36
+ key . _reactInternalFiber = value ;
37
37
}
You can’t perform that action at this time.
0 commit comments