Replies: 1 comment 1 reply
-
While that is true, I think you might be referring to Client components are SSR'd. You can do a few things here, but the simplest is to just: // your-components/menu.tsx
'use client'
const onMenuClick: MenuProps["onClick"] = (e)=>{
console.log('click', e);
}
export const Menu = () => /* mark up */ And then import that into the layout and use it. I had to rush my answer a little bit, so, if its not clear, please feel free to ask more. I can try to make more time later on to answer. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
If I render on the client side, then the menu won't be able to SEO. I transferred from Nuxt.js to learn, and it's not like nuxt.js. Can it be mixed?
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions