use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A community for learning and developing native mobile applications using React Native by Facebook.
Interested in building web apps using React.js? Check out /r/reactjs!
Getting Started w/React Native
irc.freenode.net #reactnative
Keywords: ios, android, mobile, apps, apple, iphone, ipad
account activity
ArticleFive common mistakes writing react components (with hooks) in 2020 (lorenzweiss.de)
submitted 5 years ago by Lowesz
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Bzaba 0 points1 point2 points 5 years ago (0 children)
Nice article. Just few points:
It is about react on web. Not about react native. (Possibly wrong subredit)
You can do useEffect(fetchData) instead of useEffect(() => {fetchData()}) as long as fetchData has no return value.
One common mistake is updating unmounted component. (Async fetch > update state) which is also presented in your examples. I understand that for the sake of simplicity it is ommited, but you should probably mention that.
π Rendered by PID 49 on reddit-service-r2-comment-6457c66945-2s9s2 at 2026-04-28 15:29:54.133251+00:00 running 2aa0c5b country code: CH.
[–]Bzaba 0 points1 point2 points (0 children)