I am trying to use the following library in astro with a react component
https://www.npmjs.com/package/react-countup
and I get the following error (attached images)
Does anyone have any idea what it can be or how to solve it?
#react count up
8 messages · Page 1 of 1 (latest)
Here's my attempt with react-countup
https://stackblitz.com/edit/github-hyyxun?file=src%2Fpages%2Findex.astro I did found this error at first but messing around Counter.tsx started working out of nowhere
Sure! if I set the "client:only" it works, but I want it to run only when it is visible.
if I set the "client:visible" I get the error
whoa, that is a weird one. Can confirm the Issue at the least