Content
@
0 reply
0 recast
0 reaction
Tayyab - d/acc
@tayyab
How does one add Providers in a next.js `app` structure application? This whole pattern seems a bit much.
1 reply
0 recast
1 reaction
typeof.eth π΅
@typeof.eth
You can add them to the root layout component.
1 reply
0 recast
0 reaction
Tayyab - d/acc
@tayyab
Root layout is a server component, most providers donβt work there. Figured it out though lol
2 replies
0 recast
0 reaction
typeof.eth π΅
@typeof.eth
Yeah, you have to create your providers separately (good practice either way), but server components can import client components. Iβm guessing thatβs what you did?
1 reply
0 recast
0 reaction
Salief
@salief
Check this out https://github.com/public-assembly/caisson
0 reply
0 recast
0 reaction