Skip to content

fix agenda reservation list exceeded update depth for expo sdk53#2713

Open
raeinlee wants to merge 1 commit intowix:masterfrom
raeinlee:fix--expo-sdk-53-compatibility
Open

fix agenda reservation list exceeded update depth for expo sdk53#2713
raeinlee wants to merge 1 commit intowix:masterfrom
raeinlee:fix--expo-sdk-53-compatibility

Conversation

@raeinlee
Copy link
Copy Markdown

This pull request will fix the issue mentioned here: #2705

Fix: Avoid infinite update loop in Agenda > ReservationList on Expo SDK 53+

Problem

When using react-native-calendars in Expo SDK 53+, the app crashes due to a Maximum update depth exceeded error in the ReservationList component of the Agenda.

This was caused by an infinite re-render triggered in componentDidUpdate, due to the state being set on every prop change without proper guarding.

Solution

Updated the componentDidUpdate method to check for meaningful changes in props (showOnlySelectedDayItems, items, and selectedDay) before calling setState or updating reservations.

This patch was submitted using @dangthequan 's contribution.

@ssunday
Copy link
Copy Markdown

ssunday commented Aug 18, 2025

Would be great if some Expo 53 fix could finally get released!

@itsandrehere
Copy link
Copy Markdown

We're still waiting for this here please.

@singhagam1
Copy link
Copy Markdown

Still waiting for this!!!!

@kdshop
Copy link
Copy Markdown

kdshop commented Nov 10, 2025

????

@feri-irawan
Copy link
Copy Markdown

Please we need this

@cw1997
Copy link
Copy Markdown

cw1997 commented Jan 6, 2026

Is there any official maintainer at here? Why not merge this PR?

@justinchan23
Copy link
Copy Markdown

i can confirm this works . please merge

@WanKarHouPSSD
Copy link
Copy Markdown

After a year, this PR still opening, don't know why. For temporary solution, we can only patch-package it.

@dkdps
Copy link
Copy Markdown

dkdps commented Feb 5, 2026

+1 a PR merge would be helpful, Expo SDK 54 compatibility is also broken!

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.