Resolve "Migrate to new literature list endpoints"
Closes #1704 (closed)
- Use new literature list endpoints
- Rewrote all components related to literature lists to TypeScript
-
useSWR
for network requests, withmutate
andoptimisticData
for changes - Updated the
@typescript-eslint/naming-convention
rule to better reflect our conventions in the codebase (also allowing a leading underscore). - Better UI for adding list item descriptions [1]
- Removed
listSlice
since global state wasn't needed anymore
Once the backend endpoints are created, a similar change can also be applied to SmartReviews.
[1]
Edited by Allard Oelen