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

Оптимизируй это (часть 2) #13

Merged
merged 2 commits into from
Apr 9, 2024

Conversation

denispan
Copy link
Contributor

@denispan denispan commented Apr 9, 2024

Copy link

github-actions bot commented Apr 9, 2024

Ваш пулреквест опубликован. Посмотреть можно здесь

github-actions bot pushed a commit that referenced this pull request Apr 9, 2024
@keksobot keksobot changed the title Module8 task2 Оптимизируй это (часть 2) Apr 9, 2024
Comment on lines +15 to 16
// eslint-disable-next-line react-hooks/exhaustive-deps
return useMemo(() => bindActionCreators(actions, dispatch), []);
Copy link
Collaborator

Choose a reason for hiding this comment

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

В принеципе забей

Suggested change
// eslint-disable-next-line react-hooks/exhaustive-deps
return useMemo(() => bindActionCreators(actions, dispatch), []);
return useMemo(() => bindActionCreators(actions, dispatch), [dispatch, actions]);

@baileys-li baileys-li merged commit 2379004 into htmlacademy-react:master Apr 9, 2024
2 checks passed
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