Skip to content

Feature/help coins balance#4

Open
DinMon wants to merge 2 commits into
masterfrom
feature/help-coins-balance
Open

Feature/help coins balance#4
DinMon wants to merge 2 commits into
masterfrom
feature/help-coins-balance

Conversation

@DinMon
Copy link
Copy Markdown
Owner

@DinMon DinMon commented Nov 20, 2020

Add feature to allow children to see the balance help coins. At the moment the help coins balance can only be read from Firestore. The value needs to be manually changed from Firestore.


function CardAvatar({ user, onSignOut }) {
const {name, image} = user
const {name, image, coins} = user
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep in mind, that user is potentially often encountered prop in your app, so it may make sense to move to some react context.

Otherwise, you may find yourself dealing with props drilling - when you need to pass some props way down the React tree just to pass them to some low level component.

@VitalyKrenel
Copy link
Copy Markdown
Collaborator

How do you feel about adding Netlify to your project? This way the deployed version of the app will be available for each branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants