1) Passing previous value to `invalidate` callback.
```javascript
store$.subscribe(value => {
console.log('new value', value);
}, value => {
console.log('prev value', value);
});
```
2) Custom equality checking callback passed as the third argument of `writable`. Very useful then store value is object or array.
```
const user$ = writable({}, undefined, (value, newValue) => {
return value.name !== newValue.name;
});
```