tholman / cursor-effects

Old-school cursor effects for your browser built with modern JavaScript
https://tholman.com/cursor-effects
3.35k stars 246 forks source link

how can I add this to my react project? #39

Closed psycho-baller closed 1 year ago

psycho-baller commented 1 year ago

I tried installing it with NPM but it didn't work

tholman commented 1 year ago

Hey mate, going to need a little more info, was there any errors? or problems with running the code specifically?

psycho-baller commented 1 year ago

Wait so it's supposed to work normally with react?

tholman commented 1 year ago

Sorry, it can definitely work within react, though it'll need to be assigned an element via a ref? Just adding the module won't do anything , really need details, was there any errors or problems running the functions?