G2OD5TTZX76VMBBPDGOJTEAVTZT3L6YDHNHAMDCBFKFUEU4WHKOQC
6S6EXJNBREZ22YPZNTEOQXQLIQ4KBCH2VYFTWLW4LBWPBX7FJK2QC
CZPLX4O4R7K3TF3NSAL5PT7NO3CUOLDY3OR332GBIYYNKMZTW24AC
FEYZALRNZQFN7QWCJGGTHHAYUN2OSSWD7SITQMOZIGQFUMWRFFCQC
TQ57VE45BHV7MOZ6GKTYZEAMAOTXLPQ3ROCWJ2FUCITQWOYVMUIAC
3UFL673QX2JG7KHTAM7DFH4BBYVHDNMXBS2RW45G3JBNFZFLSRRQC
FPECYSD5K4I23LPBSJW2AOILTFLJE55HQ34FMK6CKTBUOFBUL6XAC
return true;
// for (let key of (Object.keys(prevProps) as (keyof Props)[])) {
// if (key === 'delta' || key === 'args' || key === 'updaters') { continue; }
// if (key === 'allocatedPointNodeSubset') {
// // subsets could be different objects but have the same contents
// if (prevProps[key].hash() !== props[key].hash()) {
// return true;
// } else {
// continue;
// }
// }
// if (prevProps[key] !== props[key]) {
// return true;
// }
// }
// return false;
// return true;
for (let key of (Object.keys(prevProps) as (keyof Props)[])) {
if (key === 'delta' || key === 'args' || key === 'updaters') { continue; }
if (key === 'allocatedPointNodeSubset') {
// subsets could be different objects but have the same contents
if (prevProps[key].equals(props[key])) {
return true;
} else {
continue;
}
}
if (prevProps[key] !== props[key]) {
return true;
}
}
return false;
console.log(`zlevel shouldUpdate differed in ${key}, returning true`);
return true;
} else {
continue;
}
}
if (key === 'selectedPointNode') {
if (prevProps[key]?.hash() !== props[key]?.hash()) {
console.log(`zlevel shouldUpdate differed in ${key}, returning true`);