Skip to content

CodeHike and Next.js 13 #408

Answered by mrboen94
kai687 asked this question in Q&A
Sep 1, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

You usually need to use it if you have an onClick or similar in your component. For debugging you should be able to set it as far up the tree as possible, then move down through the files. It probably comes from one of the click events on the CH components.

Regardless this is probably a chat you'd want to take with the Next team or the NextJs discord: https://discord.com/invite/nextjs as it is not necessarily a problem with code-hike, but just a quirk of using NextJs.

For reference I have used it in this repo for a test project I did: https://github.com/mrboen94/Haiku/blob/5e91798816508a9cb393c0f7b7de706f1996c5f2/haiku/app/page.tsx#L1

However that project does not use code-hike, but it sh…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kai687
Comment options

@mrboen94
Comment options

Answer selected by kai687
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