File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ import {getParentSuspenseInstance} from './ReactDOMHostConfig';
1818const randomKey = Math . random ( )
1919 . toString ( 36 )
2020 . slice ( 2 ) ;
21- const internalInstanceKey = '__reactInternalInstance $' + randomKey ;
22- const internalEventHandlersKey = '__reactEventHandlers $' + randomKey ;
23- const internalContainerInstanceKey = '__reactContainere $' + randomKey ;
21+ const internalInstanceKey = '__reactFiber $' + randomKey ;
22+ const internalEventHandlersKey = '__reactEvents $' + randomKey ;
23+ const internalContainerInstanceKey = '__reactContainer $' + randomKey ;
2424
2525export function precacheFiberNode ( hostInst , node ) {
2626 node [ internalInstanceKey ] = hostInst ;
Original file line number Diff line number Diff line change 2121 * supported we can rename it.
2222 */
2323export function remove ( key ) {
24- key . _reactInternalFiber = undefined ;
24+ key . _reactInternals = undefined ;
2525}
2626
2727export function get ( key ) {
28- return key . _reactInternalFiber ;
28+ return key . _reactInternals ;
2929}
3030
3131export function has ( key ) {
32- return key . _reactInternalFiber !== undefined ;
32+ return key . _reactInternals !== undefined ;
3333}
3434
3535export function set ( key , value ) {
36- key . _reactInternalFiber = value ;
36+ key . _reactInternals = value ;
3737}
You can’t perform that action at this time.
0 commit comments