Next.js Discord

Discord Forum

create amp page with next.js 14

Unanswered
Florida White posted this in #help-forum
Open in Discord
Florida WhiteOP
hello , i use config amp and useAmp() into my projet with page router ( Next.js 13 ) . but when i try to use this into Next.js 14 / app router , i have this problem :
Cannot read properties of null (reading 'useContext')
and this config amp is deprecated , someone have a solution please ?

0 Replies