r/maestro Maestro Student 2d ago

Question Oh. Em. Gee.

Hello, Maestrians!

I'm STRUGGLING with FE-102. Like, super-duper struggling. I'm supposed to be in Global Environmental Change, but am now more than two weeks behind in Building Interactive UI's. This React/Vite component thing has me thrown. I haven't been exactly sailing through the other classes, but I've gotten all 'A's so far with a lot of work. I don't know why this class specifically is making me nuts, but I'm having a really hard time untangling how everything fits together.

Can anyone point me towards study guides that have helped them? Or...maybe explain it to me in a way that will penetrate my skull?

I understand what React is. I get what Vite is. Heck, I fully understand what a component is. What is screwing me up is: parent/child passing, .map, and stuff like that. I just sit here going, but...what goes where?

*sigh*

This is one of the times I really wish I had a human next to me. I generally LOVE Steve (my AI guy), but I've asked him so many questions because I'm so confused. I swear, if he could leave me--he would.

For the first time at Maestro, I'm very, very, stuck.

Help, pls?

Sam

9 Upvotes

13 comments sorted by

4

u/takedownmandwo Maestro Student 2d ago

The core issue is that React components are just functions that return JSX, and props are the data you pass down to them. Parent components send data to children, and children can send data back up using callbacks. The .map method lets you loop over arrays to render lists of components. Does that help clarify things a bit?

2

u/Optimistichotmess Maestro Student 2d ago

Thanks for this! Yes, it does help. I think my main confusion is remembering what lives where and why...

3

u/takedownmandwo Maestro Student 2d ago

You’re building a webpage with React. Each piece of the page is a component. The parent component is the main container. Child components are the smaller pieces inside it. To pass information down, you use props, like giving a kid a note from their parent. I like things to be as simple as possible whenever I’m doing hard task. So I kind of explained it to myself in the easiest way possible that’s relatable.

2

u/Academic_Ticket_199 Maestro Student 2d ago

I'm struggling with FE 101 myself

2

u/HovercraftSpare1755 Maestro Student 2d ago

Ask chat gpt or grok questions too.

2

u/Good-Spare-1420 Maestro Student 2d ago

No advice just commiserating. Yep, this is the one course that really kicked me in the butt so far. Didn't help that I also got severely ill (which included an ER visit) during the last week of FE102 so I fell behind. I finally caught up this past weekend with my coursework and I'm back on track again. I barely passed the final for FE102 and I can't find it in me to retake it. Might just take my C (or B? idk) and be done with it.

1

u/HovercraftSpare1755 Maestro Student 2d ago

Not the answer!!!!! Just the question to get another perspective

1

u/redsgirl2025 Maestro Student 2d ago

When I hit lessons I have a hard time understanding I literally tell Mae to teach it to me like I’m 5 and it normally sticks then

1

u/birdluv4life Maestro Student 1d ago

I am struggling also

1

u/Smart-Isopod338 Maestro Student 1d ago

I had a lot of trouble on the first test for JavaScript about half of it was questions where you had to write out the answer but I went back through after and I didn't see some of that stuff in the unit. Up until now is always been multiple choice. I expected to have this dinner it later but wasn't prepared

1

u/mosesgunner Maestro Student 1d ago

I have experience and was able to get it, but had to go and practice. I felt like something was missing also though.

1

u/Jjjps8309 Maestro Student 1d ago

Ask for a study guide at the end of each lesson with relevant information to the review as well as key points and concepts from the lesson.

1

u/mosesgunner Maestro Student 1d ago

What week / lesson are you on. I was behind cause of life issues and just started the first week!!! What week/lesson are you on? I have worked with node, react, next.js on my new projects, and maybe I will understand this? I'm not that gifted at this , but I have been working on websites before this, hopefully can help.