Feature/swr for library screens (#186)
* Wrap data fetching in library and manga screen with swr for better dev and user experience. Refactor some API calls and data handling. Add manual refresh to manga detail. * Fix manga card layout * Fix refresh button position on small screens * Revert "Fix manga card layout" This reverts commit d85da3d8385e1ef64feed1789e4cd4591c8bd563. * Fix manga not setting title * Move chapters loading to Manga component, join data fetching, add auto online fetch if fetched data is old * Revert some changes
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
"react-router-dom": "^5.2.0",
|
||||
"react-scripts": "4.0.3",
|
||||
"react-virtuoso": "^1.8.6",
|
||||
"swr": "^1.3.0",
|
||||
"use-query-params": "^1.2.3",
|
||||
"web-vitals": "^2.1.0"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user