Skip to content

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

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

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

Conversation

@raeiny0day
Copy link

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

ssunday commented Aug 18, 2025

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

@itsandrehere
Copy link

We're still waiting for this here please.

@singhagam1
Copy link

Still waiting for this!!!!

@kdshop
Copy link

kdshop commented Nov 10, 2025

????

@feri-irawan
Copy link

Please we need this

@cw1997
Copy link

cw1997 commented Jan 6, 2026

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

@justinchan23
Copy link

i can confirm this works . please merge

@WanKarHouPSSD
Copy link

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

@dkdps
Copy link

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.