Skip to content
Discussion options

You must be logged in to vote

Not sure what exactly produces the error you get, but I think createLink() is only for actual anchor elements (a) which is the case for MenuItem and Link but not for table rows (as rows may contain interactive elements they can't be links).

Maybe you can create a custom Row component that accepts the relevant router props (see ValidateNavigateOptions), then renders the Row component of RAC and passes an onAction callback that triggers navigation via TanStack Router's useNavigate() hook.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@depsimon
Comment options

@rothsandro
Comment options

@depsimon
Comment options

Answer selected by depsimon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants