inputlogic / pwa-starter

A starting point for Preact based PWAs (WIP)
MIT License
3 stars 0 forks source link

Replace connect() with useMappedState() #66

Closed weslord closed 4 years ago

weslord commented 4 years ago

As connect() is deprecated, we no longer need examples of its use. Updated a couple of components to use useMappedState() instead.

github-actions[bot] commented 4 years ago

Size Change: -42 B (0%)

Total Size: 68 kB

Filename Size Change
public/module/dashboard-89b60d5e.js 0 B -409 B (0%)
public/module/index-1bfa98e9.js 0 B -926 B (0%)
public/module/index-45df4d9e.js 0 B -1.97 kB (0%)
public/module/index-b69449f9.js 0 B -4.09 kB (0%)
public/module/index.js 10.5 kB -30 B (0%)
public/module/url-0f3d1b51.js 0 B -16.4 kB (0%)
public/nomodule/dashboard-0e979c3c.js 0 B -419 B (0%)
public/nomodule/index-0c5b978c.js 0 B -903 B (0%)
public/nomodule/index-43babdcc.js 0 B -3.91 kB (0%)
public/nomodule/index-ee580136.js 0 B -1.9 kB (0%)
public/nomodule/index.js 10.3 kB -14 B (0%)
public/nomodule/url-b501aeb5.js 0 B -16 kB (0%)
public/module/dashboard-8e3d935d.js 408 B +408 B (100%) 🆘
public/module/index-5dd3883a.js 4.09 kB +4.09 kB (100%) 🆘
public/module/index-ac5dfe19.js 927 B +927 B (100%) 🆘
public/module/index-aebf78ab.js 1.97 kB +1.97 kB (100%) 🆘
public/module/url-6194afa5.js 16.4 kB +16.4 kB (100%) 🆘
public/nomodule/dashboard-0ccd764d.js 420 B +420 B (100%) 🆘
public/nomodule/index-49a34e6d.js 1.9 kB +1.9 kB (100%) 🆘
public/nomodule/index-b9b9db0a.js 3.91 kB +3.91 kB (100%) 🆘
public/nomodule/index-c392c144.js 904 B +904 B (100%) 🆘
public/nomodule/url-2421eff9.js 16 kB +16 kB (100%) 🆘
ℹī¸ View Unchanged | Filename | Size | Change | | |:--- |:---:|:---:|:---:| | `public/workers/request.js` | 419 B | 0 B | |

compressed-size-action