2min chapter

Syntax - Tasty Web Development Treats cover image

Our Code Styles

Syntax - Tasty Web Development Treats

CHAPTER

How Do You Name Components?

I do capital. What is a capital camel? And then i'll typically name things. I am occasionally scoping by name, but i do like to think about components in a less scoped manner. But sometimes you do have like, scoped components, where this thing really only makes sense as a child of something else. So that's typically how 'm doing it. The last one is just going to be some general stuff. Extra lines in spacing. Sometimes i add additional lines of code, or like just empty lines, to give myself some breathing room. and i'll get annoyed when pretty moves them. For i do exactly the same thing as i used t usually to do,

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode