NextJS <Script /> tag is not working with data-category (v3) #580
-
Hello, I'm trying to implement Here's a CodeSandbox that illustrates the problem : https://codesandbox.io/p/sandbox/purple-paper-kw64mn?file=%2Fapp%2Fpage.tsx%3A18%2C36 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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. |
Beta Was this translation helpful? Give feedback.
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.