Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TECH ED] Array Destructuring #24

Open
1 task
SallyMcGrath opened this issue May 14, 2024 · 0 comments
Open
1 task

[TECH ED] Array Destructuring #24

SallyMcGrath opened this issue May 14, 2024 · 0 comments
Labels
📅 Data Flows This work belongs to Data Flows 🏕 Priority Mandatory This work is expected 🐇 Size Small Around an hour 📅 Sprint 1 Assigned during Sprint 1 of this module 🎯 Topic Programming Fundamentals Learning syntax: data types, functions, loops, expressions, etc 🎯 Topic Requirements Interpreting requirements with precision and accuracy

Comments

@SallyMcGrath
Copy link
Member

SallyMcGrath commented May 14, 2024

Objectives

  • Use object destructuring to extract values from an object and assign them to variables in one line

Link to the coursework

https://github.com/CodeYourFuture/Module-Data-Flows/tree/main/Sprint-1/destructuring

Why are we doing this?

Destructuring is very useful and used a lot in React. Both array and object destructuring are worth exploring.

Maximum time in hours (Tech has max 16 per week total)

1

How to submit

  1. Fork to your Github account.
  2. Make a branch for this project called feature/destructuring
  3. Make regular small commits in this branch with clear messages.
  4. When you are ready, open a PR to the CYF repo, following the instructions in the PR template.
gitGraph
    commit id: "start"
    branch feature/destructuring
    commit id: "ex-1-update-argument"
    commit id: "ex-2-teachers-pet"
    commit id: "ex-3-print-receipt"
    checkout main
    merge feature/destructuring
Loading

There are several projects in this repo. Make a new branch for each project. This might feel challenging at first, so this is a good problem to bring to class to work on in groups with mentors.

Don't make one giant PR with all your work in for the module. Make a separate PR for each assignment.

How to review

  1. Complete your PR template
  2. Ask for review from a classmate or mentor
  3. Make changes based on their feedback
  4. Review and refactor again once the coursework solutions are released.

Anything else?

https://www.freecodecamp.org/news/array-destructuring-in-es6-30e398f21d10/

@SallyMcGrath SallyMcGrath added 🎯 Topic Programming Fundamentals Learning syntax: data types, functions, loops, expressions, etc 🎯 Topic Requirements Interpreting requirements with precision and accuracy 🏕 Priority Mandatory This work is expected 🐇 Size Small Around an hour 📅 Data Flows This work belongs to Data Flows 📅 Sprint 3 Assigned during Sprint 3 of this module labels May 14, 2024
@SallyMcGrath SallyMcGrath added 📅 Sprint 1 Assigned during Sprint 1 of this module and removed 📅 Sprint 3 Assigned during Sprint 3 of this module labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📅 Data Flows This work belongs to Data Flows 🏕 Priority Mandatory This work is expected 🐇 Size Small Around an hour 📅 Sprint 1 Assigned during Sprint 1 of this module 🎯 Topic Programming Fundamentals Learning syntax: data types, functions, loops, expressions, etc 🎯 Topic Requirements Interpreting requirements with precision and accuracy
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant