DEV Community

Ivy Chen
Ivy Chen

Posted on • Edited on

AppWorks School - Week 3

As we’re about done wrapping up the e-commerce shopping website, our teacher gave us his sample code and had us study it as an examplar of how it could be done differently. I think what helped the most was seeing how he structured his folders and files, especially with the way components are broken up and how logic is seperated in index.js seperate from the JSX. He also doesn’t set unnecessary states or use useEffects when he doesn’t need to. He then gave us a set of review questions, mostly foundational JS and React concepts, and we had to use snippets of sample code to back up our answers to these review questions.

What was really hard about this last week on the project was that we had to do all the functionalities like selecting product (color, size, quantity) and adding to cart / adjusting cart items in this week. For me, it felt like a lot of functionalities squeezed into the span of 1.5 weeks, so it’s taking me a bit longer to fully complete than scheduled. Our teacher always give us feedback comments on our PRs so that takes time to fix too.

Top comments (0)