No way to make active link on scroll in different components using .map() #631
nicitaacom
started this conversation in
General
Replies: 3 comments 7 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
You can't use a hook inside a loop. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I know man |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
No way to make active link on scroll in different components using .map()

I want make something similar to this
I want here ser inView - category.id

And in Category.tsx I want create ref
But its write me that I redeclarete variable

Beta Was this translation helpful? Give feedback.
All reactions