Displaying comments on a blog post in Svelte and SvelteKit

Displaying comments on a blog post is incredibly common. Now that our backend API supports getting a list of comments, we can easily display them in our SvelteKit application.
šŸ¤Æ Support
  • https://www.patreon.com/davidwparker
  • https://www.buymeacoffee.com/davidwparker

ā±ļø Timestamps:
  • 00:00 - Introduction
  • 00:28 - demo
  • 01:20 - user slug svelte route
  • 01:38 - post slug svelte route
  • 05:30 - index svelte route changes

šŸ’Œ Newsletter:
  • https://www.programmingtil.com/

šŸŖElsewhere:
  • Twitter: https://twitter.com/davidwparker
  • Twitter: https://twitter.com/programmingtil
  • GitHub: https://github.com/davidwparker

šŸ’­Concepts:
  • pretty URLs
  • when / how we can load and show data via SSR vs using onMount (with vs without JS on)

šŸ“šResources:
  • https://github.com/davidwparker/programmingtil-svelte/tree/ep19

šŸŽ¬ Subscribe!
  • http://bit.ly/subdavidwparker

My name is David W Parker and Iā€™m creating and publishing videos on ProgrammingTIL to help teach anyone and everyone who wants to code. Iā€™m a huge fan of Ruby on Rails, Svelte, TailwindCSS, and WebGL. Iā€™ve used React a lot in the past, as well as some Vue and AngularJS. Iā€™ve done some professional Python and Django. I like to create real applications and my tutorials will walk you through how to build something real from beginning-to-end.

svelte #sveltekit

Ā© programmingtil.com