ProtocolPav / everthorn.net

The code for the Everthorn.net website
https://everthorn.net
1 stars 0 forks source link

Refactor client/server components #7

Open ProtocolPav opened 3 months ago

ProtocolPav commented 3 months ago

As part of the new Discord integration, we need to really take a close look at all of our pages and components and refactor where we use client components and where we use server components.

I'll be honest, when I was starting off and building the website I blindly inserted so many "use client" strings onto pages, but that was wrong. We need to do that per component, and ideally every page should be a server component. Any specific things we need to run on client side should be made into its own component and imported.