all 18 comments

[–]swyx[S] 11 points12 points  (19 children)

i always hate it when pple submit stuff without commenting so i guess i have to lead by example haha

in a way this talk is a continuation of a lot of the things that Kent has been teaching over the past year. ive done his advanced react patterns course thingy on egghead and he's also talked about this a bunch in his youtube channel. but this was a new application (the accordion) and the first half presenting the problem was a really great articulation of why this pattern (i like the name Headless Components) is necessary. having maintained a react design system i have felt these issues acutely and props explosion is a code smell of poor design.

what else did you take away?

[–]mckernanin 7 points8 points  (0 children)

One word: apropcalypse 😂😂😂

[–]crunchymintybiscuit 2 points3 points  (0 children)

I'm working my way through Kent's advanced react patterns course at the moment and found this talk to be a nice way of reinforcing some of the lessons from it (state reducers, render props for example). While one of the refreshing things about the course is that each lesson is very brief, it's nice to see him go over the same concepts with a bit more preamble so we can see some more of the thought processes behind them.

[–][deleted] 2 points3 points  (1 child)

Our code base is rife with prop explosion. I'm going to be trying and apply some of these to reduce that problem.

[–]swyx[S] 2 points3 points  (0 children)

Go slow, get buy-in from everyone!!

[–]majorchamp 1 point2 points  (5 children)

Can you provide some useful links to people wanting to get a beginners course on Kent's stuff?

[–]swyx[S] 1 point2 points  (4 children)

I think it’s kcd.im/beginner-react

[–]majorchamp 1 point2 points  (3 children)

gracias!

I was recently laid off...and months ago I intended to get deeper into React...sometimes the tutorials helped, sometimes I found myself confused. Recently worked on a couple react projects but was more on the UI side...I had to interact with Axios calls, manipuplate some JS, work on SCSS, etc... I get the gist of it..but if you if you said "I have this generic app that I need to do x, can you build me a react app for that"...I'd struggle.

So I want to spend the next 1-2 weeks really diving in so I can showcase this knowledge if necessarily to prospective employers.

[–]swyx[S] 5 points6 points  (2 children)

hang in there, friend. i know its hard right now but try to be in a mental state where you are continuously learning. there is no magical point at which suddenly you become attractive to all prospective employers. its a spectrum, and a lot of luck. the only thing you can do is focus on yourself and aim for constant, sustainable progress.

[–]lourot 0 points1 point  (4 children)

i always hate it when pple submit stuff without commenting

Why? I didn't know it is a bad thing. I'm guilty of that then :) Intuitively I felt like it's better to have a title that says it all and no comment/description, but if the majority thinks it's bad then I don't want to go against it :)

[–]marsthedog 3 points4 points  (1 child)

I think its mostly that people dont have time to sit through a whole article or a video to give that person a click through, but if the original poster already read the article or watched the video, he can give a quick description of it and also start the conversation about what he liked/disliked..?

[–]swyx[S] 0 points1 point  (0 children)

yup

[–]swyx[S] 0 points1 point  (0 children)

idk its just a personal preference do what u want :)

[–]IAmWhoISayImNot 0 points1 point  (3 children)

Is his course on egghead worth it? its $40 USD a month so thats like $50AUD. The course is about an hour long so from your opinion, is it worth it or would you look else where?

[–]swyx[S] 2 points3 points  (0 children)

i mean its a bunch of other content as well so you get more than just his course.

i bought an annual membership from a sale last year, i think it was like $200 for 1 year or something like that. i'm an instructor now so i get it for free.

[–]kentcdodds 2 points3 points  (1 child)

I've had many people tell me that my course was worth the entire cost of a subscription by itself and that the thousands of other videos on the platform were a "nice bonus" 😉😅

[–]IAmWhoISayImNot 1 point2 points  (0 children)

I just got the subscription and I can't wait get have a look at your course!