route intercept
Unanswered
West African Crocodile posted this in #help-forum
West African CrocodileOP
I'm trying to implement route intercept just like in twitter login page when we click on create account a signup page pops up and route changes but i'm getting this error
Warning: Cannot update a component (`HotReload`) while rendering a different component (`Router`). To locate the bad setState() call inside `Router`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render
Router@webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/app-router.js:147:93
ErrorBoundaryHandler@webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/error-boundary.js:82:9
ErrorBoundary@webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/error-boundary.js:110:53
AppRouter@webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/app-router.js:417:47
ServerRoot@webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/app-index.js:123:24
RSCComponent
Root@webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/app-index.js:139:24Uncaught TypeError: initialTree is undefined1 Reply
Boreal Owl
got the same issue with a similar directory structure
@West African Crocodile were you able to solve the issue?
@West African Crocodile were you able to solve the issue?