Page Transitions Leading To (intermediate value)() is undefined
Error
#1484
Unanswered
fweth
asked this question in
Help & Questions
Replies: 1 comment 2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I asked this on SO before, how do we get proper page transitions in Vike/React? I tried to implement via React Transition Group (this package is already 2 years old, I hope it still follows all the correct APIs) but got an error when transitioning from a dynamic route (
/star-wars
) to a static route:I also tried it with my own code, using
React.cloneElement
, which is also what RTG uses under the hood. Here is what I did to theContent
function in the boilerplate (with RTG):Any ideas? The React docs say:
But I wouldn't know what else to use?
Beta Was this translation helpful? Give feedback.
All reactions