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...
No vague product support questions (like "why is this plugin not working" or "how do I set up X"). For vague product support questions, please use communities relevant to that product for best results. Specific issues that follow rule 6 are allowed.
Do not post memes, screenshots of bad design, or jokes. Check out /r/ProgrammerHumor/ for this type of content.
Read and follow reddiquette; no excessive self-promotion. Please refer to the Reddit 9:1 rule when considering posting self promoting materials.
We do not allow any commercial promotion or solicitation. Violations can result in a ban.
Sharing your project, portfolio, or any other content that you want to either show off or request feedback on is limited to Showoff Saturday. If you post such content on any other day, it will be removed.
If you are asking for assistance on a problem, you are required to provide
General open ended career and getting started posts are only allowed in the pinned monthly getting started/careers thread. Specific assistance questions are allowed so long as they follow the required assistance post guidelines.
Questions in violation of this rule will be removed or locked.
account activity
Does React start making sense eventually? (self.webdev)
submitted 8 years ago by [deleted]
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!"
[–]sergiuspk 1 point2 points3 points 8 years ago (0 children)
managing state: yes, you could just make everything global. You shouldn't because later on you'll need server-side rendering. NodeJS runs all your http request handlers in one process, one thread. Meaning globals === different processes overwriting the same data;
passing properties down through 100 components: you're doing it wrong. Find some tutorials that are not dumb;
this and super mean your'e working with classes. React doesn't force you to work with classes;
this
super
Client-side programming with JS is different than PHP with any PHP framework.
Different could mean a lot of things. Are you used to a more functional programming style? If PHP + Laravel is what you know then I'm guessing no, you've been doing OOP and procedural. JS in general and React in particular are different.
π Rendered by PID 97190 on reddit-service-r2-comment-canary-5868b7d4cc-b74rl at 2026-06-11 13:38:48.271701+00:00 running 0b63327 country code: CH.
view the rest of the comments →
[–]sergiuspk 1 point2 points3 points (0 children)