Skip to content

Rendering an array #3439

Answered by urugator
ndrean asked this question in Q&A
Jun 30, 2022 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

It seems to me that you're lacking some basics of how react works (and perhaps promises). I would suggest to get familiar with these first and introduce mobx later.
If you want to perform an async work (like fetching users) when a component "appears" or "updates", take a look at
https://reactjs.org/docs/hooks-effect.html

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@urugator
Comment options

@ndrean
Comment options

@urugator
Comment options

@urugator
Comment options

@ndrean
Comment options

Answer selected by kubk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants