We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm seeing an issue at this point in the tutorial:
function Note({ note }: any) { const { id, title, content, created } = note || {}; return ( **<Link href={`/notes/${id}`}>** <div className={styles.note}> <h2>{title}</h2> <h5>{content}</h5> <p>{created}</p> </div> </Link> ); }
When I change it to "/" or "/notes" it works fine, but when I try to do this I get the following error:
PREFETCH ERROR Error: Functions cannot be passed directly to Client Components because they're not serializable.
Does anyone know how to handle this error? I have been researching this for the past few hours but no luck so far.. thanks.
The text was updated successfully, but these errors were encountered:
same here... :(
Sorry, something went wrong.
Yep same here. I found deleting the error.tsx got rid of it... not sure why it happens though...
#3 this fixes it... basically 'use client';
'use client';
@jameshd thanks for sharing!
No branches or pull requests
I'm seeing an issue at this point in the tutorial:
When I change it to "/" or "/notes" it works fine, but when I try to do this I get the following error:
PREFETCH ERROR Error: Functions cannot be passed directly to Client Components because they're not serializable.
Does anyone know how to handle this error? I have been researching this for the past few hours but no luck so far.. thanks.
The text was updated successfully, but these errors were encountered: