[ERROR] DateRange: Maximum update depth exceeded
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript, react
- Lĩnh vực
- frontend
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện lỗi trong DateRange CodeSandbox được liên kết trong issue, sử dụng entry point ví dụ tại packages/web/examples/DateRange/src/index.js. Theo dõi luồng chọn DateRange và xác minh rằng việc chọn ngày bắt đầu và ngày kết thúc sẽ lọc các thẻ kết quả mà không kích hoạt lỗi độ sâu cập nhật tối đa.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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:
- 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
- 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
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
- Ngôn ngữ chính
- JavaScript
- Star
- 4.9k
- Fork
- 479
- Merge trung bình
- 4 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 4
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của appbaseio/reactivesearch
-
ci: add Node.js version matrix, caching, and lint step to test workflowCó thể đã có người làm @Talha12Shiekh đã nhận 70 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
appbaseio/reactivesearch#2322 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
chore: add Dependabot config for automated dependency updatesCó thể đã có người làm @Talha12Shiekh đã nhận 70 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
appbaseio/reactivesearch#2321 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
security: user-controlled URL params injected directly into Redux store via JSON.parseCó thể đã có người làm @Talha12Shiekh đã nhận 70 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
appbaseio/reactivesearch#2319 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
refactor: consolidate 12 near-identical SVG icon components into one patternCó thể đã có người làm @Talha12Shiekh đã nhận 72 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
appbaseio/reactivesearch#2324 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
refactor: SearchBox.js is 2692 lines — extract subcomponents for maintainabilityCó thể đã có người làm @Talha12Shiekh đã nhận 70 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
appbaseio/reactivesearch#2323 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của appbaseio/reactivesearch
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Deepak3699/Ai_Mentor#244 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ci-install-db-tools stall-case tests flake: stalled apt-get can be killed before it logs its callĐang mởeffort:low model:light plan planner:opus-5-5 tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug 🐞
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
mozilla-mobile/firefox-ios#35986 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Hidden loading spinner keeps animating after connect, causing high idle CPU usage in FirefoxĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
bug(sight): the dashboard's text truncations split surrogate pairs and show broken charactersĐang mởcomponent:sight
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
agentic-os-org/ANOLISA#6738 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày