TehNut / AniMouto

Let an imouto improve your AniList experience.
https://animouto.moe
MIT License
72 stars 6 forks source link

Fix MediaList queryStore not refreshing correctly #83

Closed Syphini closed 1 year ago

Syphini commented 1 year ago

I've determined there may have been a bug in @urql/svelte < 4.0.0 that has been causing issues with the animeList and mangaList queryStores from updating correctly when refreshing simultaneously.

Updating the dependency to the latest version seems to have solved this issue. (should close #74 )

Additionally, the newer version seems to have caused an issue with the previously working "What's New" page and I've added a default empty array to the affected each blocks so that any issues with rendering will be resolved while the query is still processing.

TehNut commented 1 year ago

Was it really that simple 💀 I swear I tried the updated library locally

Syphini commented 1 year ago

Yeah wasn't expecting that to work either but after testing a whole bunch of stuff it's the only thing that ended up working well.