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

[ERROR] DateRange: Maximum update depth exceeded #2266

Open
ltalreja-gryphon opened this issue Nov 9, 2023 · 1 comment
Open

[ERROR] DateRange: Maximum update depth exceeded #2266

ltalreja-gryphon opened this issue Nov 9, 2023 · 1 comment
Labels

Comments

@ltalreja-gryphon
Copy link

Affected Projects
Reactivesearch

Library Version:
4.2.0

Describe the bug
Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the demo link mentioned in the docs - https://codesandbox.io/s/github/appbaseio/reactivesearch/tree/next/packages/web/examples/DateRange?from-embed=&file=/src/index.js
  2. Try selecting any start/end date with DateRange component

Expected behavior
Expect the results cards to be filtered out based on date range provided

Screenshots
image

Video
https://github.com/appbaseio/reactivesearch/assets/85502721/55d20215-07ac-4223-a147-f57686137ddd

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome
  • Version: 119.0.6045.123 (Official Build) (x86_64)

Additional context
Have been facing a similar issue in my project where the app errors out if you select a daterange

@cmonteiro128
Copy link

Any workarounds for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants