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

Maximum update depth exceeded #1

Open
wimdenherder opened this issue Jul 16, 2022 · 0 comments
Open

Maximum update depth exceeded #1

wimdenherder opened this issue Jul 16, 2022 · 0 comments

Comments

@wimdenherder
Copy link

When I run the example, it works but console shows this error multiple times:

Warning: Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.
at SweetPagination (http://localhost:3000/static/js/bundle.js:42555:26)
at div
at App (http://localhost:3000/static/js/bundle.js:88:96)

Node version: v17.3.0

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

No branches or pull requests

1 participant