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
|
You can't use a hook inside a loop. |
0 replies
I know man |
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

All reactions