appbaseio / appbaseio/reactivesearch

[ERROR] DateRange: Maximum update depth exceeded

Abierto
#2,266 2 comentarios 1 reacción 0 asignados Ver en GitHub
bug
Lenguaje dominante
JavaScript
Estrellas
4.9k
Forks
478
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**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](https://github.com/appbaseio/reactivesearch/assets/85502721/00fac186-1d21-4b27-af85-a970a17d4a58)

**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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.