Creating "Go Back" Link for Server Side Rendered Components.
Unanswered
Saint Bernard posted this in #help-forum
Saint BernardOP
Does any one know how to create 'Go Back' to parent Link for Server Rendered Components?
I can hardcode the parent full path in the component, but if I move around the parent component, it will break the code.
I do not want to use button and useRoute,
Wanting to stick with <Link>
I can hardcode the parent full path in the component, but if I move around the parent component, it will break the code.
I do not want to use button and useRoute,
Wanting to stick with <Link>
1 Reply
@Saint Bernard Does any one know how to create 'Go Back' to parent Link for Server Rendered Components?
I can hardcode the parent full path in the component, but if I move around the parent component, it will break the code.
I do not want to use button and useRoute,
Wanting to stick with <Link>
I do not want to use button and useRoute,but it isn't possible. you have to make a client component and call router.back in there
Wanting to stick with <Link>