Replies: 1 comment 6 replies
-
@marcustut where does a loop come in here? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using react and I need to render a nested menu with data fetched from external API. However, since I have to do
setParent
andsetChild
, how do I do this dynamically? As far as I'm aware, we can't use react hooks in a loop right?Beta Was this translation helpful? Give feedback.
All reactions