CodeYourFuture / CodeYourFuture/Module-Data-Flows

Object Destructuring

Open
#24 0 comments 0 reactions 0 assignees View on GitHub
🏕 Priority Mandatory 🐇 Size Small 📅 Sprint 1 Core Module-Data-Flows Submit:PR
Dominant language
JavaScript
Stars
0
Forks
275
PR merge metrics
No merged PRs in 30d

Description

### Learning 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

1

### Submission & Review

1. Fork to your Github account.
2. Make a branch for this project called feature/destructuring
2. Make regular small commits in this branch with clear messages.
3. When you are ready, open a PR to the CYF repo, following the instructions in the PR template.

```mermaid
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
```

There are several projects in this repo. [Make a new branch](https://simpledev.io/lesson/create-branch-gh-desktop-1) 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.