Add basic loading of older posts

This commit is contained in:
2023-04-03 17:24:59 +02:00
parent 2eddb77b74
commit e8e864bdfc
4 changed files with 64 additions and 15 deletions

View File

@ -0,0 +1,11 @@
<script>
import { createEventDispatcher } from 'svelte';
const dispatch = createEventDispatcher();
function loadOlderPosts() {
dispatch('loadOlderPosts');
}
</script>
<button on:click={loadOlderPosts}>Load More</button>