@@ -171,10 +171,10 @@ export function diff(
171171 c . _nextState ,
172172 componentContext
173173 ) === false ) ||
174- newVNode . _original === oldVNode . _original )
174+ newVNode . _original == oldVNode . _original )
175175 ) {
176176 // More info about this here: https://gist.github.com/JoviDeCroock/bec5f2ce93544d2e6070ef8e0036e4e8
177- if ( newVNode . _original !== oldVNode . _original ) {
177+ if ( newVNode . _original != oldVNode . _original ) {
178178 // When we are dealing with a bail because of sCU we have to update
179179 // the props, state and dirty-state.
180180 // when we are dealing with strict-equality we don't as the child could still
@@ -294,7 +294,7 @@ export function diff(
294294 ? MODE_HYDRATE | MODE_SUSPENDED
295295 : MODE_SUSPENDED ;
296296
297- while ( oldDom && oldDom . nodeType === 8 && oldDom . nextSibling ) {
297+ while ( oldDom && oldDom . nodeType == 8 && oldDom . nextSibling ) {
298298 oldDom = oldDom . nextSibling ;
299299 }
300300
@@ -313,7 +313,7 @@ export function diff(
313313 }
314314 } else if (
315315 excessDomChildren == null &&
316- newVNode . _original === oldVNode . _original
316+ newVNode . _original == oldVNode . _original
317317 ) {
318318 newVNode . _children = oldVNode . _children ;
319319 newVNode . _dom = oldVNode . _dom ;
@@ -405,8 +405,8 @@ function diffElementNodes(
405405 let checked ;
406406
407407 // Tracks entering and exiting namespaces when descending through the tree.
408- if ( nodeType === 'svg' ) namespace = SVG_NAMESPACE ;
409- else if ( nodeType === 'math' ) namespace = MATH_NAMESPACE ;
408+ if ( nodeType == 'svg' ) namespace = SVG_NAMESPACE ;
409+ else if ( nodeType == 'math' ) namespace = MATH_NAMESPACE ;
410410 else if ( ! namespace ) namespace = XHTML_NAMESPACE ;
411411
412412 if ( excessDomChildren != null ) {
@@ -418,8 +418,8 @@ function diffElementNodes(
418418 // excessDomChildren so it isn't later removed in diffChildren
419419 if (
420420 value &&
421- 'setAttribute' in value === ! ! nodeType &&
422- ( nodeType ? value . localName === nodeType : value . nodeType = == 3 )
421+ 'setAttribute' in value == ! ! nodeType &&
422+ ( nodeType ? value . localName == nodeType : value . nodeType == 3 )
423423 ) {
424424 dom = value ;
425425 excessDomChildren [ i ] = null ;
@@ -429,7 +429,7 @@ function diffElementNodes(
429429 }
430430
431431 if ( dom == null ) {
432- if ( nodeType === null ) {
432+ if ( nodeType == null ) {
433433 return document . createTextNode ( newProps ) ;
434434 }
435435
@@ -530,7 +530,7 @@ function diffElementNodes(
530530 newVNode ,
531531 oldVNode ,
532532 globalContext ,
533- nodeType === 'foreignObject' ? XHTML_NAMESPACE : namespace ,
533+ nodeType == 'foreignObject' ? XHTML_NAMESPACE : namespace ,
534534 excessDomChildren ,
535535 commitQueue ,
536536 excessDomChildren
@@ -551,7 +551,7 @@ function diffElementNodes(
551551 // As above, don't diff props during hydration
552552 if ( ! isHydrating ) {
553553 i = 'value' ;
554- if ( nodeType === 'progress' && inputValue == null ) {
554+ if ( nodeType == 'progress' && inputValue == null ) {
555555 dom . removeAttribute ( 'value' ) ;
556556 } else if (
557557 inputValue !== UNDEFINED &&
@@ -560,11 +560,11 @@ function diffElementNodes(
560560 // is missing the progress bar is treated as indeterminate.
561561 // To fix that we'll always update it when it is 0 for progress elements
562562 ( inputValue !== dom [ i ] ||
563- ( nodeType === 'progress' && ! inputValue ) ||
563+ ( nodeType == 'progress' && ! inputValue ) ||
564564 // This is only for IE 11 to fix <select> value not being updated.
565565 // To avoid a stale select value we need to set the option.value
566566 // again, which triggers IE11 to re-evaluate the select value
567- ( nodeType === 'option' && inputValue !== oldProps [ i ] ) )
567+ ( nodeType == 'option' && inputValue !== oldProps [ i ] ) )
568568 ) {
569569 setProperty ( dom , i , inputValue , oldProps [ i ] , namespace ) ;
570570 }
0 commit comments