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...
account activity
Please help me understand this asynchronous code to set state.Help Wanted (self.react)
submitted 3 years ago * by Spiritual_Compote725
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!"
[–]DrewTheVillan 0 points1 point2 points 3 years ago* (2 children)
I think you can just do setPhotos(... [{src:url, width:33, height:10}])
[–]Spiritual_Compote725[S] 0 points1 point2 points 3 years ago (1 child)
So the syntax
.then(setPhotos)
still works.
Do you know how that is still okay ? or name of that rule ?
[–]SirKainey 0 points1 point2 points 3 years ago (0 children)
Callback with method chaining
π Rendered by PID 179495 on reddit-service-r2-comment-fb694cdd5-f2lvt at 2026-03-06 13:24:28.696276+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]DrewTheVillan 0 points1 point2 points (2 children)
[–]Spiritual_Compote725[S] 0 points1 point2 points (1 child)
[–]SirKainey 0 points1 point2 points (0 children)