Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavnathacker committed Jan 7, 2022
1 parent f075b43 commit 598429f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ This is a sample app(For beginners - App #2) built using Jetpack Compose. It dem

**Height** and **Weight** are the two states used by BMI Calculator form composable, however these are local to this composable. Hence not hoisted by parent composable (**MainContent()**). Only when **Calculate** button is clicked, latest value is passed via onClick.

However, other two states - **showBmiResult** and **bmiResult** - are modified by actions inside **BMICalculatorForm()**, but are used by **BMIResultForm()** to display on UI. Hence both of these are hoisted by thier parent composable (**MainContent()**).
However, other two states - **showBmiResult** and **bmiResult** - are modified by actions inside **BMICalculatorForm()**, but are used by **BMIResultForm()** to display on UI. Hence both of these are hoisted by their parent composable (**MainContent()**).


0 comments on commit 598429f

Please sign in to comment.