@fruit-ui/core 1.3.2 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.js +1 -1
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -469,7 +469,7 @@ function rerenderElementFromTemplate(element, template, onMounts) {
|
|
|
469
469
|
function deepEqual(a, b) {
|
|
470
470
|
if (typeof a !== typeof b) return false;
|
|
471
471
|
if (typeof a === 'function') return true;
|
|
472
|
-
if (typeof a === 'object' && a !== null) {
|
|
472
|
+
if (typeof a === 'object' && a !== null && b !== null) {
|
|
473
473
|
if (typeof a[Symbol.iterator] === "function") { // is iterable
|
|
474
474
|
if (a.length === b.length && a.size === b.size) {
|
|
475
475
|
const itA = a[Symbol.iterator](), itB = b[Symbol.iterator]();
|