- π
isPersistentremains true when localStorage is disabled in Firefox, resolve #80 b1b1dae - β¨ reduce bundle size f324d84
| v19.5.0 | v20.0.0 | Ξ | |
|---|---|---|---|
| minified | 1.65 kB | 1.53 kB | β120 B (β7.3%) |
| minified + brotli | 704 B | 677 B | β27 B (β3.8%) |
Note: This is a new major release because the isPersistent prop is changing behavior β previously when the defaultValue was equal to the returning value isPersistent was always true. Now isPersistent is true only when localStorage is saving the value.