r/reactjs • u/PHPonPCP • Aug 14 '19
If you're learning React, steer clear of 80% of the content on this subreddit.
I know it's tough. But the amount of junior developers writing misinformed articles online these days and causing headaches for other juniors is out of control. I get that these folks want to share something cool they just learned, or get a bit of exposure for something they're passionate about, but the amount of anti-patterns or obvious omissions in the articles I regularly see here is alarming.
If you're just learning, the last thing you need to spend 2-3 hours doing is going down a rabbit hole that's going to teach you all the wrong lessons. Stick to well regarded places like React Training and the official docs.
68
u/gekorm Aug 14 '19
Agreed. I think the best advice is to
Stick to the docs. Lots of people seem to have an aversion to docs and go straight for tutorials
Stick to material written by the maintainers
I'm not implying that you have to be a maintainer to be competent at this. But there's enough material written by maintainers that it covers everything, so it takes the guesswork out of the equation - important for juniors.
5
u/LookingForAPunTime Aug 14 '19
Good docs have become essential for me. I try to stick to learning from a library’s homepage first and foremost these days.
16
u/PHPonPCP Aug 14 '19
I've been using React in production for three years now, and I learn something new from the docs every time I visit them. Lots of things in this library reveal themselves with experience, and I always pick up a little something more when I try it out.
1
u/Montuckian Aug 15 '19
Don't neglect the act of looking at the source code too. I often find out more by looking through that than the docs in terms of HOW something works.
1
u/LookingForAPunTime Aug 15 '19
I have indeed looked at sources on GitHub a few times in order to grasp the inner workings of a few features
→ More replies (1)24
u/gavlois1 I ❤️ hooks! 😈 Aug 14 '19
Some good docs, like the React and Vue docs, include a detailed tutorial/getting started guide which is great. Other times, the docs are nothing more than essentially a glorified jsdoc of their API, which is helpful for reference, but not so great for learning how to actually use the library/framework.
2
2
Aug 14 '19
There needs to be a video supplement to the official docs. I personally learn from written materials the best, but I recently discovered a lot of coworkers vastly prefer youtube/egghead/pluralsight.
1
u/gekorm Aug 15 '19
The docs I linked above include supplemental links, for example https://egghead.io/courses/the-beginner-s-guide-to-react
1
2
u/CafeRoaster Aug 14 '19
What if some language in the docs is just enough to confuse us?
6
Aug 15 '19
Look up the language that confuses you?
Like that's just part of being a developer.
That's also why the docs are the best place to start. No one is saying to only use the docs.
0
Aug 14 '19
[deleted]
5
u/gekorm Aug 14 '19
Which is why the official React docs include a very comprehensive Getting Started guide. It covers everything from trying React out to going to production with relevant links.
2
Aug 14 '19
But it doesn't spoon feed everything quickly. That's where those chapters are nice when you don't have a clue about the related ecosystem and tool chain. An example is setting up npm. It's trivial once you have used it, but if you're new, 10 minutes setting up your IDE, package manager, etc... is useful. Once you have done it a few times, it becomes pointless.
3
u/gekorm Aug 14 '19
Well it doesn't matter where you get such basic information from, there are very few ways to mess this up.
This post is more about articles that contain gems such as "Context replaces Redux" or "Never use inline functions", which this subreddit tends to attract. I don't think anyone's talking about total beginners.
2
Aug 14 '19
The complaint was that every noob heads to a tutorial instead of the docs. I was trying to explain a reason why. If you're a noob with modern web development, the docs aren't sufficient. If you're experienced with modern web development, everything else is a library or framework and the docs are a good place to start.
This post is more about articles that contain gems such as "Context replaces Redux" or "Never use inline functions", which this subreddit tends to attract. I don't think anyone's talking about total beginners.
This shit is frustrating. Between out dated information that's never pruned from search results and people who don't know what they're doing, it's hard to figure out what's a good approach especially when the entire approach has seems odd from a non-web developer POV.
1
u/acemarke Aug 14 '19
If you're a noob with modern web development, the docs aren't sufficient
I'm trying to fix that... :)
1
u/UnexpectedLemon Aug 14 '19
Idk, I think as long as you have programming experience it shouldn’t be an issue. I knew almost no python and got my enter environment configured in like 20 minutes and a bit of googling
2
Aug 14 '19
Python setup is incredibly easy. Setting up other things like a GCC for an ARM target took longer.
0
Aug 15 '19
[deleted]
1
Aug 15 '19
Even true noobs. Going from static HTML/CSS/toy JavaScript is a huge leap. You transition from getting by with a text editor to needing a tool chain.
12
u/doodirock Aug 14 '19
Zero examples given with no clear indication that this is actually a problem. Steer clear of 80% of this post.
0
u/PHPonPCP Aug 14 '19
I'm not going to call out noobs. Go read some stuff in new.
3
Aug 15 '19
These are the only thing on the first two pages I found that are people giving advice (versus questions / demos).
https://medium.com/@gajus/logging-in-browser-2f053dbe69df -https://www.reddit.com/r/reactjs/comments/cpwu88/how_to_contribute_better_error_messages_to_react/?st=jzbyxfou&sh=539df34c
If 80% of the content is misinformed it shouldn't be hard to give a SINGLE EXAMPLE.
This isn't the place to learn React anyway. It's just news and random questions. No one's asking you to 'call out noobs' but what is an example of anti patterns you see promoted?
79
u/suarkb Aug 14 '19
100 REASONS WHY YOU DON'T NEED REDUX AND HOW REACT HOOKS ARE ALREADY DEPRECATED FOR REACT'S NEW UPDATE CALLED REACT VUEANGULAR
18
0
Aug 14 '19
[deleted]
8
u/Awffles Aug 14 '19
React: Skylines
7
0
0
78
u/mjgtwo Aug 14 '19
It helps to have a "network of trust" of certain authors you know they know what they are talking about. For example, Dan Abramov would be a good start.
29
24
u/tyler-mcginnis Aug 14 '19
An interesting point here is that I've seen every single person mentioned in the original post and in the comments below (including myself) be wrong at one time or another. Creating an environment where new comers feel comfortable contributing to the conversation is a net positive. The inaccuracies take care of themselves as we all learn together.
3
u/mjgtwo Aug 14 '19
A good point! To follow that line, should we look to the people we see as experts to guide us to newcomers as "verified"?
Not to jump to the answer, but we (as community members) should add critical thinking to our search for more knowledge; "does this sit right?" when we read an article, "Does this code smell?" when looking at examples. Once you feel you understand the topic from the giants in the field, you should be able to venture out to other authors imo.
33
Aug 14 '19
Kent Dodds
18
u/tide19 Aug 14 '19
Shawn Wang aka /u/swyx
16
5
0
Aug 14 '19
[deleted]
24
u/swyx Aug 14 '19 edited Aug 14 '19
apparently i dont do a very good job of marketing myself. here’s some stuff i’ve written!
https://github.com/typescript-cheatsheets/react-typescript-cheatsheet (with many other contributors)
https://www.netlify.com/blog/2019/03/11/deep-dive-how-do-react-hooks-really-work/
https://dev.to/swyx/fight-link-rot-with-server-and-client-side-redirects-netlify-and-gatsby-29jn
https://css-tricks.com/star-apps-a-new-generation-of-front-end-tooling-for-development-workflows/
https://css-tricks.com/types-or-tests-why-not-both/
https://alligator.io/nodejs/solve-cors-once-and-for-all-netlify-dev/
15
1
0
6
2
u/CSKingMartin Aug 14 '19
I had the pleasure of taking an advanced React course from Kent Dodds, he's amazing. Definitely a person who knows what they're doing.
→ More replies (1)2
7
6
u/Intie Aug 14 '19 edited Sep 27 '23
deer absurd groovy plucky carpenter automatic fearless station historical aware
this message was mass deleted/edited with redact.dev5
4
u/javarouleur Aug 14 '19
Robin Wieruch does some genuinely quality, in-depth tutorials... I found all his stuff really good for a seasoned JS developer trying to pick up React.
4
u/mhd Aug 14 '19
The problem is that a lot of developers either seem to work for FB or want to sell you something (courses etc.). Not that many "working stiffs" with a high profile.
1
57
u/FuglySlut Aug 14 '19
I attended a popular bootcamp, and they really pushed us to build our portfolio by writing articles and doing tech talks. Nevermind none of us knew anything worthwhile.
5
Aug 15 '19
That's what a lot of blogs have become lately. Just a way to increase your online presence and shit. It sucks and have made the overall quality of programming related writing pure garbage.
Nobody should be taking advice from people who have only been working with a language/library/skillset for not even a year.
0
Aug 14 '19
[deleted]
1
Aug 15 '19
Especially if the article you write is shite and someone lets you know where you went wrong (they will). That helps with learning too
17
Aug 14 '19
[removed] — view removed comment
2
u/disasteruss Aug 15 '19
Yeah, but taking the time to have a well written article and think about the why's & how's behind your thought processes can REALLY enhance your own self-learning, and help people less experienced than you. Writing a few comments on stackoverflow doesn't have the same purposeful effort behind it.
Also, at what point do we say, "You are experienced enough to write blog posts"? It seems pretty arbitrary, no?
22
u/SureLet Aug 14 '19
Just to add, the source of truth is the official React documentation. Always, always fact check.
1
Aug 15 '19
Yeah but some of the docs don't say anything meaningful if you don't already have enough cursory knowledge. For example, ReactDOM/server does not mention anything about transpiling your server and/or having a server webpack config.
2
u/evenisto Aug 15 '19
It does not mention that because it's grossly out of scope. I agree React docs could in many ways be better, but that is not one of them.
1
3
u/general_dispondency Aug 14 '19
Should I not trust this post lamenting about how I shouldn't trust other posts? Also, how can I trust someone who's name starts with PHP?
1
19
u/Rollingrhino Aug 14 '19
Part of the blame is on bootcamps telling students to churn out articles like these to build cred as being a developer despite learning to code 5 weeks ago
31
u/ClikeX Aug 14 '19
I've seen an influx of junior devs writing articles about mundane stuff. Usually it's in a "ain't this a neat language feature" attitude. Which are great, until they start promoting bad practices.
24
u/WryLanguage Aug 14 '19
That's what all the bootcamps are telling them to do. They don't have a proper computer science degree so they have to gain credibility somehow.
17
u/themaincop Aug 14 '19
They don't have a proper computer science degree so they have to gain credibility somehow.
I don't know if you meant to imply that someone having a CS degree means they have credibility but... no. There's no substitute for experience.
4
Aug 15 '19
A CS degree puts you way ahead of others starting out though, and in a lot of ways fills any gaps that even an experienced person might have.
Overall experience is probably the most important for doing your job, but a CS degree gives you a major advantage, especially when doing non-web development.
4
u/themaincop Aug 15 '19
https://twitter.com/dan_abramov/status/938052930913128448?s=21
Only one person on the React team has a CS degree. Doesn’t mean they’re not useful, but the perception that you need to have it to get hired is false.
For the kind of work we're doing with React I'd take a high school drop out with 4 years real work experience over a fresh CS grad any day. Not to say that CS degrees aren't valuable but the types of projects I tend to work on don't require all that much theory. It's more about architecture, thoughtful UI implementation, understanding requirements, etc. If you want to be a really great web developer I think there are better ways to spend 4 years than getting a CS degree. Obviously if you've got your eye on non-web or things that are closer to the metal then the CS degree starts to become more valuable.
→ More replies (4)→ More replies (2)1
u/With_Macaque Aug 15 '19
I think a CS degree is the difference between "class-style components are hard" and "it's a data structure"
12
Aug 14 '19
Junior roles have mostly evaporated in the last 5 years or so and employers are not willing to invest in training. Bootcamps churn hundreds of inexperienced devs each month and the stigma against them runs high. Since there are so few avenues for those without connections to get started in their dev careers, they have to do things like this in order to stand out.
Until the labor market changes - don’t hate the players, hate the game.
9
u/zephyrtr Aug 14 '19
I'm not sure I agree junior dev roles are evaporating, but at the same time I feel like I have to say I work at a company that doesn't hire juniors. I just know of many bootcamp grads that keep finding work regardless. So the market may be shifting, but not quite so much as you say.
6
Aug 14 '19 edited Aug 14 '19
My last two companies didn't hire juniors and stated clearly in all job postings bootcamp graduates would not be considered. Didn't stop them from applying though. Their resumes still ended up in the trash, if they were read at all.
Edit: I remember a couple years back one guy somehow got through and one of the tech leads looked through his github account and saw some todo app he made from his bootcamp. Asked him point blank why he had lied on his resume. Dude broke down, just started crying on the spot. Everyone felt bad for him but no one wanted to hire him either.
3
u/zephyrtr Aug 15 '19
I don't know that it's a good idea to blanket state "all bootcamp grads need not apply" unless this is very obviously not a web dev role. You might identify certain schools as trash courses and mostly ignore them, but I'll say I've seen many strong web devs who came from a bootcamp and -- beyond that -- I can easily see this statement scaring away other, very strong applicants who want to avoid an elitist environment.
Many CS students go to bootcamps, as do freelancers who just wanted to learn React. I also see many "senior devs" at some companies that honestly would not be considered much higher than junior by my bosses. These days, hiring is like a box of chocolates.
Besides data types, what CS principles do most web dev roles actually use? And of those data types, the only ones you typically need to know are arrays and dictionaries. I couldn't tell you the last time I thought about BST's between the hours of 9 and 5. Strong command of CSS is way more important.
1
Aug 15 '19
I’m not saying I agree with it, just saying that’s been my experience at every company I’ve worked at thusfar. Some places state up front others have an unofficial policy. At best, bootcamp grads resumes end up in the bottom of the pile. (And if you’ve got to get to the bottom of the pile when hiring, you’ve probably got bigger problems on your hands.)
Maybe theres some companies out there that don’t care?
0
Aug 14 '19
[deleted]
8
Aug 14 '19
Bootcampers have a reputation for lacking core CS knowledge, low skill, general incompetence and lack of production experience. Not saying that's true but that was prevailing perception where I've worked. Having one or two on your team might be ok if they're really exceptional but in my experience, engineering teams with bootcamp grads had pretty bad reputations. Being compared to one is essentially an insult.
→ More replies (3)1
u/jetlagged_potato Aug 19 '19
Ya im a recent CS grad and haven't found a dev job in a year of searching. Every company wants 3+ years production experience. Let met know if you know someone who's hiring
3
u/trip16661 Aug 14 '19
I think its also the culture.
This programming culture seems to push people to write "something" to show their knowledge and interest to potentially get hired.
3
Aug 14 '19
Did you guys know that the <blink> tag, while deprecated, DOES work on certain browsers!? Join me as I debunk myths surrounding this amazing animation tool!
1
Aug 14 '19
It makes them look cooler on resume. Recruiters nowadays are all about open source contribution and blog articles are not looking bad either..
1
u/NateExMachina Aug 18 '19
It's going to be terrible if anyone actually reads the blogs and sees them messing up CS101. Same with a GitHub full of TODO apps.
•
u/acemarke Aug 14 '19 edited Aug 14 '19
We mods do our best to clear out the obvious spam, but we try to keep a relatively light hand otherwise. We certainly don't have time to open up every article and make a subjective decision on whether it's worth keeping or not.
If you feel something is actual spam, please report it as such and we'll deal with it. Otherwise, if you feel it's just poor quality, downvote it and move on.
We do link to several strongly recommended resources in the sidebar. Not sure what we can do to make those more prominent.
edit
since I stickied this comment and the child comments are hidden, also see /u/swyx 's take:
https://reddit.com/r/reactjs/comments/cqa4y7/_/ewv4jk1/?context=1
3
u/gekorm Aug 14 '19
Question, do the weekly "How to use PureComponent" blog posts count as spam? They're always very basic, worse than the docs, and only written for exposure.
Rule 4 says "if you repeatedly post low quality crap you will be banned". These are posted repeatedly but by different people. Should I report or just downvote? Thanks :)
6
2
1
u/Pants_R_Overatd Aug 15 '19
... are you looking for additional mods? I try to help everyone around me and would like a chance at doing so in a more public manner, if it gets me involved with other developers
6
u/swyx Aug 15 '19 edited Aug 15 '19
the way i put it is we're not looking but always open to new mods. ideally i'd like to see how people behave like mods before they become mods, and that means actively participating, helping, posting, etc. whatever they think makes the sub better. including bringing over great ideas from other subs you love.
basically if you want the job act like you already have it. like with open source, and most things in life. do it well and i'll be in touch.
2
u/Pants_R_Overatd Aug 15 '19
Understood, thanks for reaching out. That's the same mindset I apply at work, I've just never applied it to my Reddit account because...Reddit...? But I'm trying to advance my career and move from ITSec to Dev/DevOps, so I'll have to keep this conversation in mind in the future.
In the meantime I'll just keep programming and growing my skillset. Thanks again!
3
49
u/swyx Aug 14 '19 edited Aug 14 '19
i know you’re coming from a good place but its hard not to feel a bit attacked. heh. what i will say is if you spot antipatterns and omissions, thats what comments are for. use them. we, like many other places, have a massive lurker problem. 20k daily active users, and at best a couple hundred commenters. give feedback, call people out (respectfully!) when they’re wrong.
i do not believe the long term sustainable way to run this subreddit is to limit who can post stuff to the same 10 people. new folks (like me) have to start somewhere. instead of sowing fear that 80% of What You Read Is Probably Wrong, i’d like to encourage more active debate and teaching.
by the way senior devs are just as capable of espousing malpractical bullshit as juniors. they just have more confidence.
9
u/OmegaVesko Aug 14 '19
Yeah, OP isn't necessarily wrong here, but I do feel that this post unfairly makes it seem like this sub in particular has some kind of massive quality problem.
Every subreddit, unless they have the kind of extremely strict moderation where every single post is vetted by the mods (which, naturally, very few do), will have lots of low-quality content and borderline spam. That's just the nature of an open platform like reddit, you can never assume the random blogpost or whatever that you're reading is Certified Good Content™. That's as true for this sub as it is for most of the internet.
4
u/parceriwafer Aug 14 '19
Junior devs usually don't know they're using an anti-pattern or bad practice (some bad practices might not seem too obvious). That's why they're juniors, they need guidance and I'm sure most of them are willing to take any feedback as a lesson to grow and become better.
In my opinion they shouldn't restrain from posting stuff like this. Instead I believe that whenever it's possible we should help telling them what is wrong and how that can be improved.
These posts are an excellent opportunity to them to learn from others.
6
u/_mr47 Aug 14 '19
Is there a way to know if we picked up bad practices?
I am working on a full stack project as my final year's project for my bachelor's, and I chose web technologies, using React for the front-end.
Most of what I do so far is from the docs or stack overflow. I have used a few blog posts to learn about protected routes using the decorator pattern etc.
Is there someone/somewhere where I could share this project for someone more experienced to review?
4
Aug 15 '19
I didn't learn "good" vs. "bad" practices until I started working professionally and honestly I don't think they exist.
I always think of it as which approach best fits the problem I'm solving.
To figure that out I would say the best thing to do is ask "what" and "why".
Meaning what is the tool we're using to solve the problem and why are we using that tool.
For example folder structure in an application. Why are we structuring it a certain way?
"Because the blog article said so" isn't a good answer.
"Because structuring it this way lets us have self contained modules" or "Because structuring it this way allows us to easily keep a separation of concerns" are much better answers.
So for your protected routes using decorators.
Why? What do decorators buy us that couldn't be achieved using something more standard? Heck what are decorators in the first place and why are they useful for this task?
Basically imagine you have to justify the choices you made on the project to your boss. Are you able to do that? If not it's likely a bad practice.
3
u/jonwah Aug 14 '19
Code review stackexchange. You can pop parts of it on there and get people to look over it. PM me if you put it up, I'll have a look!
3
u/kecupochren Aug 18 '19
I’m doing react for 5 years now. PM me and I can review it for you and offer advice (if you’re cool with sharing it)
6
u/LoneWolfRanger1 Aug 14 '19
Can you give an example of such an article? I cant recall seeing somethig very wrong on this sub
11
Aug 14 '19
Without calling out specific authors or articles, would you mind providing examples? I’m not a junior developer but being one means you don’t really know what to look for to identify these things.
12
u/Kindinos88 Aug 14 '19
TBH, I think the best thing a "junior" developer can do for themselves is to write lots of code, make mistakes, think about how to solve them, then look for the ways others have solved these issues. Rather than looking for the "one true solution" right away before even coming across a problem in a real world project, you should explore programming for yourself.
This applies to so much more than just React, but I suppose it's a bigger problem in React/Javascript since these are very hot subjects that attract lots of hype.
4
u/WillBackUpWithSource Aug 14 '19
I think that's useful for any developer honestly.
I'm ostensibly not a "junior" (though I don't think I'll ever not feel like one), but I'm fairly new to React and even in the few months I've been writing React code, I can tell I am thinking more "React-ly" so to speak when designing something in React.
After a while (in addition to research, writing code, making mistakes), working a stack you get a sort of "horse sense" about what's going on.
3
Aug 15 '19
Always look for the "why" in opinion articles.
Say you're looking at an article on redux vs. the context api
If they article doesn't tell you why you should use an approach it's probably a bad article.
3
u/rodrigocfd Aug 14 '19
look for to identify these things
I've seen some articles being heavily criticized here in the comments, that's why I always jump here before reading the articles themselves.
4
u/faizaand Aug 14 '19
Especially since the framework is evolving fast, especially this year with the introduction to React Hooks and last year's upgrade to React Navigation 2.0. As a result, a lot of guides on even reputable yet non-official sites have become obsolete without warning. I have found myself falling into this trap D:
While guides are helpful to introduce you to the space, you should never solely rely on them without learning how to consult the official documentation. For well-maintained project like most of the popular ones in the React ecosystem (React, Redux, react-redux, redux-thunk, redux-saga, React Navigation, so on and so forth), the official documentation is stellar and up to date. Once a developer learns how to use the official docs, the job becomes a heck of a lot easier.
2
u/acemarke Aug 14 '19
I have to say that I get rather frustrated when I see folks asking questions, and when I ask what resources they used, they say they just read a few random tutorials or Youtube vids and have never looked at our docs.
4
u/jfflng Aug 14 '19
I had something typed up basically agreeing with you, but then checked the sidebar and realized this sub is set up just fine. If beginners are getting confused by this subreddit, they aren't using reddit correctly in the first place. As with any subreddit, read the sidebar before diving into the content.
I still agree with you, but just pointing that out.
8
u/lowIQanon Aug 14 '19
This isn't worth much without specifics. It's just some rando opinion about some other rando opinion.
3
5
u/the_brizzler Aug 14 '19
And if it is the accepted pattern today, wait 3 months and it will soon become an anti pattern. Hooks today, something tomorrow...haha
2
Aug 14 '19
So many misleading/poorly written articles out there especially when it comes to authentication in an SPA or networking.
2
2
u/coolcalabaza Aug 15 '19
I am bothered by articles that are opinion pieces that speak as if they are fact. I see many Medium called “STOP USING X”. Why? Because the author didn’t like x. Even when X is a great option depending on your use-case. Some of the titles of the articles or so click-baity and sensationalist.
X can be filled in with CSS-in-JS, Material UI, Redux, certain practices, etc, etc.
2
u/Cmcco91 Aug 15 '19
As a beginner myself this is great advice. It’s hard enough to learn let alone learning the wrong way of doing things.
2
u/wherediditrun Aug 15 '19
I wouldn't be so sure it's just "juniors" writing articles. There are plenty of developers with 5+ years experience who never progressed past their first year in terms of skill or understanding. I expected this to be a problem to some extent before but recently, we had a recruitment campaign (internationally) in our company. And all sort of "seniors" or "mid" programmers crawled out of woodwork to apply.
I was astonished how many self described experienced developers do not qualify even for junior position. Just recently, the most ridiculous case was a supposed senior level programmer who's code went fatal due to the fact that his filenames are not properly capitalized as they are used. Guess what, the person develops in Windows where capitalization isn't a big deal, unlike in Unix based systems. I get it if you're a beginner, you may not know this, but senior?!
And I won't even begin talking about misuse of tools, concepts, switch statements which do everything, stateful services / mutability all over the place.
Other aspect is that with rise of javascript, youtube is now full of "Self though developers" who simply aren't good at anything yet produce videos on how to do something. I really do not intend to gatekeep here, but someone needs to break it down. You can't become "self though developer" who's worth it's salt on your own. Even if your a genius, which probably you aren't and you are like rest of us mortals. There is simply too much to know. You need to work in a team to have positive feedback loops with people to test out your ideas and code. You need to understand how applications scale in size and in _time_. You need to understand how business domain effects your application. And you need to write tons of unit tests while painfully cursing yourself for making this difficult for yourself when you were implementing the code before you can write clean code yourself. Optimally you need a seasoned developer who knows all of its to guide you so it won't take more time than necessary to learn all of this.
The farthest you can bring yourself to as "self though developer" is to a sufficient enough level, that some company might agree to employ you assign a seasoned developer to teach you. And that goes same for most uni graduates as well. If that's not your cup of tea go freelancing for small businesses. You can make money focusing on selling part rather than engineering part as the code part is usually pretty simple there. And it's possible to make money that way. However you shouldn't take a guide for that kind of professional on the all things code.
And we aren't even touching on more sinister side of all sorts of useless tutorials which are there just to harness views and money. While providing useless yet interesting sounding content. "Learn blockchain with Go" - and similar irrelevant garbage.
2
u/ryanjy217 Aug 15 '19
100% agree, but I've also found writing about what you're learning is a great way to retain it and improve. So a bit of a catch 22 IMO.
Good advice is what you suggested, and to vet the author prior to diving in too deeply!
2
u/codeptualize Aug 15 '19
Think this is not exclusive to React and this subreddit. There is tons of crappy information, and even well-regarded resources contain wrong information, bad patterns, and lots and lots of opinions and personal preferences without reason, argument or data to back them up.
As others have mentioned it's part of being a developer to figure out what stuff is good, shady, and plain wrong. It's always the challenge to think: Does this apply to my situation? Will I hate myself for this in X months? Is it complete overkill? Is it just opinion?
What works for me is simply asking "why?" un till I understand enough to make an educated guess. "Do X like this" -> "Why do X like that?". If there is no clear answer, move along!
And although slightly frustrating at times, just falling on your face a couple of times is a decent cure for simply accepting everything you read online.
2
u/najoes Aug 15 '19
This could be reposted in nearly every sub. The amount of content being published by junior digital product/UX/UI/IA designers can really do damage to someone new in the field that needs mentor ship.
1
u/TheAwdacityOfSoap Aug 14 '19
Several examples of what you consider good articles and why, and what you consider misinformed articles and why, would make this post actionable. As it stands now, how is a junior dev going to get anything useful out of this? How do they identify the good 20%? Or are you saying only trust the official docs and React Training?
1
1
1
u/archivedsofa Aug 14 '19
Another problem with React is that some of the most popular solutions might not be the best ones for you or your team.
We dreaded using React + Redux + React-router until we found out about MobX. Then and I made our own little router based on Mobx and our life is a lot simpler now.
1
u/UselessHero2 Aug 14 '19
How to make a todo list for the thousandth time. The same beginner level articles saying the same thing over and over. 8 ES6 features you should be using and its not even anything smart just the same article on object spread and arrow functions. I feel like this is also a problem on dev.to. No real life examples whatsoever. I think these cookie-cutter articles are only written for exposure, but what is the solution?
1
u/no1name Aug 14 '19
I soldiered on using Reactjs in the ASP.net template, the simplicity of setting it up was beaten by having something so niche googling the errors didn't help.
1
u/Wilesch Aug 15 '19
So true. Just read an article on how someone greatly improved their app proformace. The original looked like whoever wrote it hadn't a clue and the updated version was same crap with a componentDidUpdate added to every component
1
1
1
u/_Pho_ Aug 15 '19
Devil's advocate: if you spend countless hours learning things that are deprecated, anti-pattern, or have better alternatives, you're just going to be angry about the time you wasted.
1
u/GoofAckYoorsElf Aug 15 '19
True. And not only for ReactJS. Angular suffers from the same problem.
It's a mess. There are so many outdated, overly complicated and plain wrong tutorials out there that it is extremely difficult to actually learn how to use these actually awesome frameworks. It's horrible. Oftentimes you find yourself in a situation where you followed some tutorial, hit a blocking point because it is outdated and because you're just tinkering about and have no VCS up you end up with a fucked up project folder because rolling back is almost impossible without leaving some ugly traces of dead files, useless code and bogus imports. Especially because for most things there are a multitude of ways to get only close to what you want to achieve. Unfortunately most of them only bring you close, not all the way to your goal. And you notice shortly before reaching your goal that the way you took is a dead end and your special requirement makes it completely useless. Or something that theoretically should, doesn't work and you have to try something else. But in order to do so you'll have to roll back hours and days of work. And in the end you notice that you are working with an outdated version of the framework, you upgrade, and suddenly nothing works at all anymore. You have to start over.
For fuck's sake, let's clean this mess up!
1
u/Motleyp Aug 15 '19
Can strongly recommend Steven Grider's React tutorials on Udemy. He is very thorough, explains everything in detail, including the pitfalls, and encourages using the docs and looking at the source code.
1
u/Awnry_Abe Aug 15 '19
Why throw this subreddit under the bus? Why not Medium or HN which hosts said garbage?
1
u/CantaloupeCamper Aug 16 '19
There's a real problem with resume driven blog posts ... that is posts that are written to look good on their resume but don't really do much beyond that.
1
u/NateExMachina Aug 18 '19
Bootcamps encourage them to write articles because they think it will impresses employers. I guarantee nobody is impressed with their fucking CS101 mistakes. It's also a bunch of Europeans and Indians trying to prove they know English. Others are only doing it for advertising and SEO. Unless they're getting paid for it, usually NOBODY IS DOING IT TO ACTUALLY HELP YOU. Hard pass on anything from medium.
1
0
Aug 14 '19
Perhaps there should be another sub like “advancedreact” for more seasoned pros
4
u/mawburn Aug 14 '19
You're thinking the wrong direction. There is already a network of learnx subs.
Try: r/learnreactjs
r/learnprogramming or r/learnjavascript are a couple others.
6
u/MCFRESH01 Aug 14 '19
It will have the same exact problem. Who decides who is advanced?
2
u/hey_parkerj Aug 14 '19
It wouldn't be people that would be advanced enforced, it would be the content. Most advanced subs require pretty tight moderation and sometimes (in /r/WeightRoom for example) credentials are required for top level comments on weekly threads - even if your credentials are amateur, what's important is providing context.
1
u/sneakpeekbot Aug 14 '19
Here's a sneak peek of /r/weightroom using the top posts of the year!
#1: 102 Lifting Resources you may find useful
#2: My Most Effective Hypertrophy Training Programs
#3: "Training is 85-90% effort and consistency and 10-15% programming/knowledge." | Jim Wendler | 120 commentsI'm a bot, beep boop | Downvote to remove | Contact ^^me | ^^Info | ^^Opt-out
0
Aug 14 '19
[deleted]
2
Aug 14 '19
A year doesn’t make a developer out of junior level. I have a coworker who works for 1 year+ and I think he doesn’t understand functions until today. With a solid code base, he managed to impost one by copy and paste existing code and rename the variables to some generic names. Still long way to go.
0
Aug 15 '19
[deleted]
1
Aug 15 '19
Tbh I think that you are correct. It’s a lot easier for a weight lifting subreddit to filter out noobs because all it takes is one look at a somebody to tell if they lift or not whilst this would be too time consuming.
0
0
-3
u/640212804843 Aug 14 '19 edited Aug 14 '19
Personally I don't trust anyone who uses the word "junior" to describe anyone. So cringy. I luckily never worked anywhere that did that.
When you graduate you are an developer. You can be senior, but calling someone junior when they start is silly. Seems like an excuse to pay less that entry level and convince someone that their opinion is less important.
There is nothing wrong about reading examples, good or bad. That is how you learn. No one is right when it comes to these things, that is what you should accept from the start. Developing can me more art than science most of the time. Sad, but true. Things just change too much, there are multiple valid ways to do stuff. The performance factor is unknown to so many people and rarely considered as much as it should be. How code looks most of the time is valued more than nitty gritty performance of each action the code does. But performance is a hard metric to use when every browser version is different.
5
u/PHPonPCP Aug 14 '19
Junior is a very common term in the industry. Everyone has been a junior. I don't know why that's the controversial part you decided to pontificate on.
→ More replies (5)2
u/trout_fucker Aug 14 '19
This is very off the mark. Junior developers should be treated differently than mids. If you give a junior developer a vague task where they are expected to figure most of it out, then you shouldn't be surprised when they fall flat on their face. But, that's absolutely what you should expect from a mid level developer.
Mid level developers should be capable of understanding the goal, their restrictions, tech stack, and be able to accomplish their goal with minimal guidance.
Some people come out of college as mid levels, some people are junior developers for years. As the other comment said, we've all been junior developers. It's all dependant on the person on how fast they prove themselves knowledgeable and dependable on a technical level. On my team we recently hired a guy out of a Bootcamp as a Junior and he was able to prove himself a mid within the first month. Which is extra awesome, because my company doesn't even interview Bootcamp grads but he was able to get an internal referral who was persistent with the recruiter.
→ More replies (4)
294
u/mawburn Aug 14 '19
This is just a skill you're going to have to learn if you want to become a successful engineer in general.
You can't trust comments either. I have made wrong comments before that were widely agreed with and upvoted, only to find out later I was flat out wrong.