JackBellinger / blog

personal blog
Apache License 2.0
1 stars 0 forks source link

Use Async Derived Stores to filter posts #61

Closed JackBellinger closed 8 months ago

JackBellinger commented 8 months ago

Add async derived stores, inspired by https://github.com/square/svelte-store. This replaces the filtering logic that was triggered dispatches from the search bar and tag selector. There are some other features in the new stores that will support querying databases from a store and keeping all of the deriving logic the same to do something like cache invalidation. When the scrollers get filtered, the format changes for some reason, but that's not as bad as using the wrong image, so I'll merge this to resolve #32

JackBellinger commented 8 months ago

I also added webp images for ms edge compatibility