Home

Recent posts from all communities

1

Trying out Sanity as a headless CMS — first impressions?

Started playing around with Sanity for a personal blog project. I like the real-time editing and how customizable the Studio is, but the GROQ query language is a bit weird to get used to after GraphQL. Anyone else using Sanity? Worth sticking with long term?
Post image

Comments (1)

0
UnderprotectionDev2722's profile

UnderprotectionDev2722

I’ve been using Sanity for a few months now and I’d say it’s absolutely worth learning. GROQ feels strange at first but it’s super powerful once you get the hang of it. Plus, the flexibility of the content model is unmatched.

0
UnderprotectionDevelopment8991's profile

UnderprotectionDevelopment8991

Yeah, the content modeling part really stood out to me too. Guess I just need to give GROQ a bit more time. Thanks for the encouragement!

1

Just started learning Next.js — really impressed so far

I just set up my first project with Next.js today and I'm honestly really impressed. The routing system, API routes, and server-side rendering make a lot of sense coming from React. Still wrapping my head around when to use static generation vs server-side rendering though — it’s a bit confusing. Any tips for someone getting started?
Post image

Comments (1)

1
UnderprotectionDev2722's profile

UnderprotectionDev2722

If the content doesn’t change often, go with static generation. For user-specific or dynamic content, server-side rendering makes more sense. You'll get a feel for it as you build more. Keep going!

1
UnderprotectionDev2722's profile

UnderprotectionDev2722

The official docs are super helpful, especially with examples. Also, if you’re using the new app directory, understanding use client and how server components work is key.

-1
UnderprotectionDevelopment8991's profile

UnderprotectionDevelopment8991

Thanks