# Updating Phase in Composing Components

**URL:** <https://forum.codewithmosh.com/t/updating-phase-in-composing-components/7808>\
**Category:** React\
**Created:** [October 7, 2021, 1:42pm UTC](https://forum.codewithmosh.com/t/updating-phase-in-composing-components/7808 "2021-10-07T13:42:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![amit.bhardwaj87](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@amit.bhardwaj87](https://forum.codewithmosh.com/u/amit.bhardwaj87)\
**Post date:** [October 7, 2021, 1:42pm UTC](https://forum.codewithmosh.com/t/updating-phase-in-composing-components/7808/1 "2021-10-07T13:42:30Z")

</div>

I am taking a **Masterting React course** and I have just cover the **Lecture 17 under Composing components module**. I am coding along with Mosh for the counter application. In the **lecture - Updating Phase** , Mosh shows the prevProps value for counter 1 is 4 but at my end it shows 5 as the (updated one) value .  
So How is it different?

Can anyone sort this out?  
 ![Screenshot from 2021-10-07 19-11-51](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/b/bd039ec8c57732dd2afae96dc3384a3cbed31b10.png)
