Aug 17, 2023
New site / new blog
I've used Next.js professionally and for side-projects for a few years now. This site is my first forray into using App router (finally). So far the DX has been really nice and I'm excited to see how it works out in the log run.
Granted, this is an extremely simple site that doesn't need much in the way of routing but playing with the RSC (React Suspense Concurrent) has begun shifting my mental model from the Pages router.
This blog post is being sourced from a MDX file that's' fetched on the server and parsed to HTML. I'm using the gray-matter
package to parse the frontmatter and the remark
package to parse the markdown. I'm also using remark-slug
to generate the slug for the post.