Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ht-6 #50

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Ht-6 #50

wants to merge 11 commits into from

Conversation

vlapenkov
Copy link

No description provided.

restaurantsSelector,
(_, props) => props.product.id,
(restaurants, id) => {
let result = Object.values(restaurants)
Copy link
Owner

Choose a reason for hiding this comment

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

вот это сложное вычисление будет вызываться для каждого элемента в корзине, можно сделать немного лучше - изначальны вычислить соотношение этих id, а потом в этой мапе уже их брать

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