From 8bf9fc8c62bc03def29c6876bf924400f525a288 Mon Sep 17 00:00:00 2001 From: Priyanshu Garg Date: Thu, 13 Apr 2023 12:16:17 +0530 Subject: [PATCH 1/3] corrected the typo error --- 01_Day_JavaScript_Refresher/01_javascript_refresher.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01_Day_JavaScript_Refresher/01_javascript_refresher.md b/01_Day_JavaScript_Refresher/01_javascript_refresher.md index 7d03fb4..fadc0e1 100644 --- a/01_Day_JavaScript_Refresher/01_javascript_refresher.md +++ b/01_Day_JavaScript_Refresher/01_javascript_refresher.md @@ -3187,7 +3187,7 @@ Destructuring function parameter ```js const rectangle = { width: 20, height: 10 } const calcualteArea = ({ width, height }) => width * height -const calculatePerimeter = ({ width, height } = 2 * (width + height)) +const calculatePerimeter = ({ width, height }) => 2 * (width + height) ``` #### Exercises From b2b2c2f44521cc0967b4625077e86df1815ba457 Mon Sep 17 00:00:00 2001 From: Priyanshu Garg Date: Thu, 27 Apr 2023 10:35:39 +0530 Subject: [PATCH 2/3] modified the link from Day-13 to Day-14 --- .../13_uncontrolled_input.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/13_Day_Controlled_Versus_Uncontrolled_Input/13_uncontrolled_input.md b/13_Day_Controlled_Versus_Uncontrolled_Input/13_uncontrolled_input.md index f9149db..3286ef3 100644 --- a/13_Day_Controlled_Versus_Uncontrolled_Input/13_uncontrolled_input.md +++ b/13_Day_Controlled_Versus_Uncontrolled_Input/13_uncontrolled_input.md @@ -14,7 +14,7 @@ -[<< Day 12](../12_Day_Forms/12_forms.md) | [Day 14 >>]() +[<< Day 12](../12_Day_Forms/12_forms.md) | [Day 14 >>](../14_Day_Component_Life_Cycles/14_component_life_cycles.md) ![30 Days of React banner](../images/30_days_of_react_banner_day_13.jpg) @@ -174,4 +174,4 @@ Most of the time we use controlled input instead of uncontrolled input. In case 🎉 CONGRATULATIONS ! 🎉 -[<< Day 12](../12_Day_Forms/12_forms.md) | [Day 14 >>]() +[<< Day 12](../12_Day_Forms/12_forms.md) | [Day 14 >>](../14_Day_Component_Life_Cycles/14_component_life_cycles.md) From e6baf0f882daf9c8c8d837c99b1e466603f63a85 Mon Sep 17 00:00:00 2001 From: Priyanshu Garg Date: Fri, 28 Apr 2023 12:15:26 +0530 Subject: [PATCH 3/3] modified the link from Day-15 to Day-16 --- 14_Day_Component_Life_Cycles/14_component_life_cycles.md | 3 ++- 15_Third_Party_Packages/15_third_party_packages.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/14_Day_Component_Life_Cycles/14_component_life_cycles.md b/14_Day_Component_Life_Cycles/14_component_life_cycles.md index fb00594..b16bedc 100644 --- a/14_Day_Component_Life_Cycles/14_component_life_cycles.md +++ b/14_Day_Component_Life_Cycles/14_component_life_cycles.md @@ -427,7 +427,7 @@ class App extends Component { shouldComponentUpdate(nexProps, nextState) { console.log(nextProps, nextState) - // if the return is true, the application will never update. + // if the return is true, the application will update. return true } @@ -458,6 +458,7 @@ class App extends Component { this.state = { firstName: 'John', day: 1, + congratulate: '', } } diff --git a/15_Third_Party_Packages/15_third_party_packages.md b/15_Third_Party_Packages/15_third_party_packages.md index 991f5fb..5e626fe 100644 --- a/15_Third_Party_Packages/15_third_party_packages.md +++ b/15_Third_Party_Packages/15_third_party_packages.md @@ -448,4 +448,4 @@ Try to also learn how to use the package _classnames_ and _validator_. 🎉 CONGRATULATIONS ! 🎉 -[<< Day 14](../14_Day_Component_Life_Cycles/14_component_life_cycles.md) | [Day 16 >>]() +[<< Day 14](../14_Day_Component_Life_Cycles/14_component_life_cycles.md) | [Day 16 >>](../16_Higher_Order_Component/16_higher_order_component.md)