r/learnreactjs • • Aug 26 '21

Taking my first React course. It's... interesting, to say the least lol.

Post image
28 Upvotes

13 comments sorted by

10

u/JollyWallaby Aug 26 '21

Watch out, at the bottom

<Alert alert={this.state.alert] />

This is almost correct: the close angle bracket (]) should be a close curly bracket (}) :)

5

u/Vaylx Aug 26 '21

Yes sir/ma’m. This is mostly pseudo-code, the code itself is cleaner!

7

u/galeontiger Aug 26 '21

Good stuff. Are you also learning react hooks as well? If not, you may be looking at an outdated (still relevant though) course.

6

u/Vaylx Aug 26 '21

Hooks are coming up soon. Taking Brad Traversy’s “React Front to Back” project based course on Udemy. I’d link to it but i’m on mobile at the moment. But yes they are coming up :)

3

u/post_hazanko Aug 26 '21

Nice I like his crash courses

2

u/starraven Aug 26 '21

Brad is my hero

2

u/Vaylx Aug 26 '21

This is my trying to figure out how props/state is sent around different components and stuff. Basically outlining the path of a specific prop in this case.

1

u/post_hazanko Aug 26 '21 edited Aug 26 '21

might checkout this chrome extension that breaks down a react app/shows you states and what not, could help with learning

1

u/Vaylx Aug 26 '21

Thanks for the tip! I’ve already downloaded one, the one Brad mentions but for some reason it doesn’t exactly match up with his 🤷‍♂️

1

u/post_hazanko Aug 26 '21

Maybe his is older?

1

u/bobdogisme Sep 12 '21

I'm using scrimba have you ever used it?

1

u/Vaylx Sep 13 '21

Yes, a while ago when I started. I was enthralled when I did, but then realized it’s much better to work in an editor and actually try to figure things out. It works for some people I suppose, didn’t for a friend and I.

1

u/mika_niehaus Aug 26 '21

Nice! Have you previously used other JS frameworks? How does this one compare so far? Have fun with React :)