Frontend Snacks ๐Ÿฟ

FREE React Server Components Course + More ๐Ÿ’–

Hey friend,

First, thank you so much to those who helped me test the React Server Components course. I appreciate you, the testing squad caught a bunch of bugs which helped speed up my launch. This allows me to create more free resources for this community.

I wouldn't have done this without you, so thank you! ๐Ÿ’œ

React Server Components FREE Course ๐Ÿ’–

If you missed it, you could speed up learning React Server Components in-depth by taking this FREE course I've created for you. And Guess What? It's ready!! ๐Ÿฅณ

Click this magical button, and I'll add you to the List. ๐Ÿฆ„

Our Weekly Snack: React Server Components ๐ŸŒฎ

React Server Components in Next.js 13 are a hot topic right now ๐Ÿ”ฅ.

Today, let's check out a snippet to learn about them more in-depth.

I grabbed this snippet from my FREE course: React Server Components.

What's a Server Component? ๐Ÿ‘‡

A server component is a component that is fetched and rendered on the server. They are similar to standard React components but executed on the server rather than the client.

Try to think of Server components as your backend ๐Ÿ“ฆ

What's a Client Component? ๐Ÿ’ป

A client component is a component that is fetched and rendered on the client, typically in a web browser. They are responsible for handling user interactions and updating the user interface.

With React Server Components, when you view a website, your browser only needs to download the JavaScript necessary for Client components and not the entire website.

Instead of asking Client Components, we can ask React Server Components to give us the result of that build.

๐Ÿ’ก Please note that Server Components are an experimental feature not ready for adoption.

Here is a quick weekly snack ๐Ÿฟ,

Above is a simple Card component with title, description, date and a button.

Notice that using the 'use client' directive makes Card a client component. If you don't specify, then Card would be a Server component.

The above Card component also has handlers, making it a Client component as Server will not have access to browser click handlers.

Upcoming Course: Developer โ†’ Engineering Manager ๐Ÿ’–

I have been working so hard on my upcoming course program on helping developers transition into Engineering Managers. You will love the landing page - built with Tailwind and Next.js, and many asked me if I could sell them the landing page template, which was quite cool.

๐Ÿ‘‰ If you want to become a leader or you are a newer engineering leader but want to become more confident, you can add yourself to the waitlist by clicking this link.โ€‹

Pick Next weekโ€™s Newsletter Topic ๐Ÿš€

Now you have complete control over deciding what topic I should cover in next weekโ€™s newsletter.

Click on one of the topics below.

โ€‹React - Performanceโ€‹
โ€‹
TailwindCSS Comparisons to CSSโ€‹
โ€‹
Svelte vs Next.js Snacksโ€‹
โ€‹
More Next.js 13 Snippetsโ€‹

Please reply to this email to tell me what snippets you would like to see if the above list doesn't fit what you are looking for.

Weekly Youtube Videos to help you Level up ๐Ÿ’–

I've recorded this series Becoming an Engineering Manager Series A series to help you figure out whether to go for Leadership or IC (Individual Contributor) track.

Check it out and subscribe to my channel for more content to help you Level up in your Career! ๐Ÿ’ช

The Frontend Developers Toolbox ๐Ÿงฐ

  • โ€‹FontJoy: Generate font combinations for your apps - a fun little app that gives you font combinations that go well together.
  • โ€‹Developer Roadmaps: These help guide the developers in picking up the path and guide their learnings.
  • โ€‹Dall-e-2: an AI system that can create realistic images and art from your description.

I hope you have a great day!

I write all my newsletters using Kit โ†—, my favorite newsletter platform.

Share this newsletter

Subscribe to the newsletter

Get the latest updates delivered directly to your inbox.