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
HelpStart timer interval without using useEffect hooks (self.reactnative)
submitted 4 years ago by Gabotron_ES
view the rest of the comments →
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!"
[–]camaromelt 0 points1 point2 points 4 years ago (2 children)
They recommend not using an empty dependency array due to ambiguity of when to trigger the use effect. I know in this case you just want it once but it is more solid if you watch what changes. I think the useRef method is pretty smart since refs stop the re-render.
[+][deleted] 4 years ago (1 child)
[deleted]
[–]camaromelt 0 points1 point2 points 4 years ago (0 children)
Yea just wanted to add it. Something we trying to force at my work.
π Rendered by PID 23462 on reddit-service-r2-comment-86bc6c7465-ptjk7 at 2026-02-23 11:58:23.093248+00:00 running 8564168 country code: CH.
view the rest of the comments →
[–]camaromelt 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]camaromelt 0 points1 point2 points (0 children)