Using timeZone significantly affects performance slowing down re-renders by up to 15x.
Having some disabled dates and modifiers additionally increases this time.
To reproduce
CodeSandbox: https://codesandbox.io/p/sandbox/daypicker-bug-report-forked-8lrc7t
Actual Behavior
Re-renders are very slow.
Expected Behavior
Be as fast as when not using timeZone.
Using
timeZonesignificantly affects performance slowing down re-renders by up to 15x.Having some
disableddates andmodifiersadditionally increases this time.To reproduce
CodeSandbox: https://codesandbox.io/p/sandbox/daypicker-bug-report-forked-8lrc7t
Actual Behavior
Re-renders are very slow.
Expected Behavior
Be as fast as when not using
timeZone.