teatwo on Nostr: The way React judges whether to update is simple, `Object.is`. Svelte is very ...
The way React judges whether to update is simple, `Object.is`.
Svelte is very intelligent...
```
function safe_not_equal(a, b) {
return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function');
}
```
Svelte is very intelligent...
```
function safe_not_equal(a, b) {
return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function');
}
```