File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 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';
3030const randomKey = Math . random ( )
3131 . toString ( 36 )
3232 . 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 ;
3737
3838export function precacheFiberNode (
3939 hostInst : Fiber ,
Original file line number Diff line number Diff line change 2121 * supported we can rename it.
2222 */
2323export function remove ( key ) {
24- key . _reactInternals = undefined ;
24+ key . _reactInternalFiber = undefined ;
2525}
2626
2727export function get ( key ) {
28- return key . _reactInternals ;
28+ return key . _reactInternalFiber ;
2929}
3030
3131export function has ( key ) {
32- return key . _reactInternals !== undefined ;
32+ return key . _reactInternalFiber !== undefined ;
3333}
3434
3535export function set ( key , value ) {
36- key . _reactInternals = value ;
36+ key . _reactInternalFiber = value ;
3737}
You can’t perform that action at this time.
0 commit comments