DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Bret
Bret

Posted on

React vs Next (ContextProvider)

Can I copy over a ContextProvider from a react project and use it in my Nextjs project?

What’s the main difference?

Top comments (3)

Collapse
 
benjioe profile image
Benjioe

What's thΓ© context ? You have 2 apps, one is React and the orher is Next ?

Collapse
 
yobretyo profile image
Bret

How different does ContextProvider work by, in Next vs React? I’m having a error of β€œnot exported from” auth.js, when It is

Collapse
 
benjioe profile image
Benjioe

Can you put your code in a Codesandbox ?

The Complete Guide to Full Stack Web3 Development

>> Check out this classic DEV post <<