Skip to content

Logic refactoring#43

Draft
mbappai wants to merge 2 commits intomainfrom
logic-refactoring
Draft

Logic refactoring#43
mbappai wants to merge 2 commits intomainfrom
logic-refactoring

Conversation

@mbappai
Copy link
Contributor

@mbappai mbappai commented Aug 26, 2022

No description provided.

@thisisommore thisisommore marked this pull request as draft August 26, 2022 11:50
@thisisommore
Copy link
Member

@mbappai can you remove commented code?

@mbappai
Copy link
Contributor Author

mbappai commented Aug 26, 2022

Yeah ofcourse, commented code has no much relevance. I just left them there incase I might want to do a quick revert

@thisisommore
Copy link
Member

Also I think we should not go with context for now, I find it complicated to understand than props, at least when state is used in parent - child, wdyt?

@mbappai
Copy link
Contributor Author

mbappai commented Aug 27, 2022

What i'm thinking is, we should just leave this PR at the draft stage. Since we already have a working app, performance or any optimisation wouldn't be worth restructuring some of the core parts of the application.

So what I propose is to just use what we already have and i'll just go ahead and memoize the SongList component to prevent the unnecessary re-renders. wdyt?

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