Creating Reusable Comment and Post Components in Svelte

Creating Reusable Comment and Post Components in Svelte

Organizing your code into small, manageable components is a must no matter what you're building. Having giant files may work for a time, but ultimately, you want to build small, reusable components where it's easy to understand everything that's going on.

Organizing your code into small, manageable components is a must no matter what you're building. Having giant files may work for a time, but ultimately, you want to build small, reusable components where it's easy to understand everything that's going on. In this episode, I walk through that full process and extract out our Post form, Post card, Comment form, and comment card components.

⏱️ Timestamps:

  • 00:00 - Introduction
  • 00:40 - demo
  • 02:40 - Readme
  • 03:20 - Slug changes
  • 09:13 - index changes
  • 10:30 - Post Form and Post Card components
  • 15:00 - Comment Form and Comment Card components

πŸ“šResources:

Subscribe: https://www.youtube.com/c/DavidParkerW/featured

svelte

What is Geek Coin

What is GeekCash, Geek Token

Best Visual Studio Code Themes of 2021

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Svelte Tutorial - Create a Svelte Project

In this Svelte tutorial we'll be taking a look at creating a Svelte project using the Svelte template. We'll go over the file structure, install a VS Code extension and look at starting the built-in development server.

Svelte - 01.Svelte μ‹œμž‘ν•˜κΈ°

Svelte - 01.Svelte μ‹œμž‘ν•˜κΈ°

Svelte Tutorial - 4 - Svelte Files

Svelte Tutorial - Svelte Files. Svelte Tutorial for Beginners

Svelte Tutorial for Beginners - Svelte Basics

In this Svelte tutorial we'll take a look at the very basics of a Svelte app - Svelte syntax, outputting synamic variables, click events, how Svelte compiles & previewing our work.

Svelte - 02.Svelte α„‘α…³α„…α…©α„Œα…¦α†¨α„α…³ ᄉᅒᆼᄉα…₯α†Όα„’α…‘α„€α…΅

Svelte - 02.Svelte α„‘α…³α„…α…©α„Œα…¦α†¨α„α…³ ᄉᅒᆼᄉα…₯α†Όα„’α…‘α„€α…΅