Skip to content

feat(docs): Add Next.js 14 + Base Boilerplate Guide#793

Open
jadonamite wants to merge 1 commit intobase:masterfrom
jadonamite:patch-3
Open

feat(docs): Add Next.js 14 + Base Boilerplate Guide#793
jadonamite wants to merge 1 commit intobase:masterfrom
jadonamite:patch-3

Conversation

@jadonamite
Copy link
Copy Markdown

This PR adds a new Cookbook entry for setting up a Next.js 14 App Router project with Base.

Changes:

  • Added configuration for Wagmi v2 and RainbowKit.
  • Implemented a Providers component to handle React Context in Server Components.
  • Added a useIsMounted hook pattern to resolve common "Hydration Failed" errors caused by wallet state mismatches.
  • Included full code snippets for layout.tsx integration.

Why:

Many developers struggle with the "Hydration Failed" error when integrating wallet libraries into the Next.js App Router.

This PR adds a new Cookbook entry for setting up a Next.js 14 App Router project with Base.

> **Changes:**

> * Added configuration for Wagmi v2 and RainbowKit.

> * Implemented a `Providers` component to handle React Context in Server Components.

> * Added a `useIsMounted` hook pattern to resolve common "Hydration Failed" errors caused by wallet state mismatches.

> * Included full code snippets for `layout.tsx` integration.

> 

> 

> **Why:**

> Many developers struggle with the "Hydration Failed" error when integrating wallet libraries into the Next.js App Router.
@cb-heimdall
Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants