Skip to content

NextJS <Script /> tag is not working with data-category (v3) #580

Answered by orestbida
dmendiboure asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @dmendiboure, for any React based framework I would suggest using callback functions or event listeners. I'm not sure how the Nextjs Script tag works, so I can't help with that, sorry.

Here is a demo with Next.js 13 on Stackblitz, using event listeners.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pc-perrycima
Comment options

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