Next.js Discord

Discord Forum

Compiled /not-found after refreshing

Unanswered
Bengal posted this in #help-forum
Open in Discord
BengalOP
So I have the route /home, which has the FullCalendarWrapper component. The initial load has no issues, however a refresh of the page causes the component to not load. I can see a 404 error in the browser console and a webpack message in the terminal. The fullcalender page suggests its compatible with next.js. I had to add the 'use client'; at the end as suggested by next.js, had something to do with React class components.

I have attached images for the both the page, component code, the webpack message, 404 console errors, the before and after a refresh of the page

1 Reply

BengalOP
I realize the images weren't posted in the order I wanted them to