38f511c2fb
`publish` is currently rehydrated, so we can ride on that and don't need to store the `currentUploads` in `localStorage` for persistence. This would allow us to store Markdown Post data too, as `localStorage` has a 5MB limit per app. We could have also made `webReducer` rehydrate, but in this repo, there is no need to split it to another reducer. It also makes more sense to be part of publish anyway (at least to me). This change is mostly moving items between files, with the exception of 1. An additional REHYDRATE in the publish reducer to clean up the tusUploader. 2. Not clearing `currentUploads` in CLEAR_PUBLISH. |
||
---|---|---|
.. | ||
component | ||
effects | ||
middleware | ||
page | ||
setup | ||
src | ||
static/pwa | ||
stubs | ||
bundle-id.js | ||
index.js | ||
lbry.js | ||
package.json | ||
webpack.config.js | ||
webpack.sw.config.js | ||
yarn.lock |