when I click on online link it is redirecting to 404 page
Unanswered
Horned Grebe posted this in #help-forum
Horned GrebeOP
11 Replies
@Horned Grebe Click to see attachment
the
OnlineTab folder is inside AddTutor folder so the url should be /Addtutor/OnlineTabHorned GrebeOP
How can I pass event handler from parent to sub child without rendering in parent component
Horned GrebeOP
My folder structure is
App
-Addtutor
-OnlineTab
-page.jsx
-Addturor.jsx
-RightPannel
-RightPannel.jsx
-Tutorial.jsx
-sidebar
-leftpannel.jsx
Online tab page is rendering in Addtutor and the view functionality which is in online tab I have to create onclick to change RightPannel to Tutorial that RightPannel default rendering on left pannel how I can pass event handler from leftpannel to online without rendering onlinetab in leftpannel
App
-Addtutor
-OnlineTab
-page.jsx
-Addturor.jsx
-RightPannel
-RightPannel.jsx
-Tutorial.jsx
-sidebar
-leftpannel.jsx
Online tab page is rendering in Addtutor and the view functionality which is in online tab I have to create onclick to change RightPannel to Tutorial that RightPannel default rendering on left pannel how I can pass event handler from leftpannel to online without rendering onlinetab in leftpannel
use react context/zustand/jotai
Horned GrebeOP
Am setting path in RightPannel-Tutorsplan.jsx
Redirects to Addtutor-Viewpage-page.jsx it is not redirecting
Redirects to Addtutor-Viewpage-page.jsx it is not redirecting
remove /page
@Horned Grebe Am setting path in RightPannel-Tutorsplan.jsx
Redirects to Addtutor-Viewpage-page.jsx it is not redirecting
Horned GrebeOP
Yeah I had removed it is redirecting to 4o4 page
@Horned Grebe Yeah I had removed it is redirecting to 4o4 page
well your structure above doesnt have ViewPage anywhere
Horned GrebeOP
It was there it is resolved tnk u
Horned GrebeOP
app
-component
Component.js-<child/>
-child-child.js-view
button onclick pass event to app and change components
-Test
Test1.js
-Test2.js
In App-<component/> rendering
In App<Test1/> Has to render because of how can I achieve this component change functionality
-component
Component.js-<child/>
-child-child.js-view
button onclick pass event to app and change components
-Test
Test1.js
-Test2.js
In App-<component/> rendering
In App<Test1/> Has to render because of how can I achieve this component change functionality