Skip to content

preparando para o review#1

Open
sidneyouteiro wants to merge 1 commit intothipereira02:mainfrom
sidneyouteiro:review
Open

preparando para o review#1
sidneyouteiro wants to merge 1 commit intothipereira02:mainfrom
sidneyouteiro:review

Conversation

@sidneyouteiro
Copy link

No description provided.

@vercel
Copy link

vercel bot commented Sep 19, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/thipereira02/trackit/6LR5iXitjnHmsoURr8i7YHTEemUv
✅ Preview: https://trackit-git-fork-sidneyouteiro-review-thipereira02.vercel.app

Copy link
Author

@sidneyouteiro sidneyouteiro left a comment

Choose a reason for hiding this comment

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

Fala Thiago! Trouxe um feedback de código do seu último projeto 🙂

Eu gostei bastante do seu projeto. De maneira geral, mostrou domínio dos conceitos apresentados em aula e apresentou um código muito bem organizado, conciso e semântico.

Bom trabalho!

}

function value(data){
const done = data.filter(d => d.done===true);
Copy link
Author

Choose a reason for hiding this comment

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

Poderíamos reescrever esse trecho como:

const done = data.filter(d => d.done);

Comment on lines -34 to -35
<p>Sequência atual: <Sequence color={habit.done && color}>{habit.currentSequence} {habit.currentSequence===1 ? "dia" : "dias"}</Sequence></p>
<p>Seu recorde: <Sequence color={habit.highestSequence>0 && habit.highestSequence===habit.currentSequence}>{habit.highestSequence} {habit.highestSequence===1 ? "dia" : "dias"}</Sequence></p>
Copy link
Author

Choose a reason for hiding this comment

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

Poderíamos aproveitar algumas quebras de linha ou avaliar as operações booleanas por fora afim de aumentar a organização e legibilidade do código

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.

1 participant