Live Coding Clerk, into Next.js with James Perkins
James walks Alex through how to use Clerk in Next.js

Original: https://codingcat.dev/podcast/cwcc-0-9-clerk-with-appwrite
Clerk React is a React Hooks library that makes it easy to build CRUD applications. The library provides a set of high-level hooks that abstract away the details of managing state, fetching data, and handling errors.
Clerk React is designed to be easy to use, even for beginners. The hooks are well-documented and there are plenty of examples to help you get started.
In this blog post, we'll show you how to use Clerk React to build a simple todo app.
Getting Started
The first step is to install Clerk React. You can do this with the following command:
npm install clerk-react
Once Clerk React is installed, you can start using the hooks in your app.
Update _app.tsx
Include the below to wrap all components in a ClerkProvider.
import '../styles/globals.css';
import type { AppProps } from 'next/app';
import { ClerkProvider, SignedIn, SignedOut, SignIn, UserButton } from '@clerk/nextjs';
function MyApp({ Component, pageProps }: AppProps) {
return (
<ClerkProvider {...pageProps}>
<Component {...pageProps} />
</ClerkProvider>
);
}
export default MyApp;
Full Repo Example
About the author
I’m the founder of CodingCatDev, where we create “Purrfect Web Tutorials” to teach the world how to turn their development dreams into reality. I am a professional full stack developer, and I am passionate about mentoring new developers and helping the community that has allowed me to live my development dreams. I firmly believe that anyone can learn to be a developer. The CodingCatDev team is here to help!
Comments
Join the discussionNo comments yet. Be the first to comment.
CodingCat.dev Podcast - Season 4
The fourth awesome series of CodingCat.dev. Sponsors: Cloudinary - Build faster with AI powered image and video APIs. https://cld.media/codingcatdev






