As you can see data being bound is coming as props. We are using React-Redux
Apart from this - we have a drop down and button - User selects item from dropdown and clicks button which loads data from server. Data is passed to control using props.
1. User selects item from drop down
2. User clicks load data button
3. Data is displayed properly
4. User changes date using "Calendar" control in top left corner of the scheduler. This is the calendar control that comes by default in the schedular component.
5. User clicks "load data" button
Entire browser freezes for some time and then I can see following error in console.
"RangeError: Maximum call stack size exceeded
at Function.DateParser.internalDateParse (http://localhost:3000/static/js/7.chunk.js:5817:25)
at http://localhost:3000/static/js/7.chunk.js:5691:35
at Internationalization.parseDate (http://localhost:3000/static/js/7.chunk.js:4944:38)
at CalendarBase.renderDays (http://localhost:3000/static/js/7.chunk.js:15588:33)
at Calendar.renderDays (http://localhost:3000/static/js/7.chunk.js:17356:48)
at CalendarBase.renderMonths (http://localhost:3000/static/js/7.chunk.js:15538:21)
at Calendar.renderMonths (http://localhost:3000/static/js/7.chunk.js:17352:35)
at CalendarBase.createContentBody (http://localhost:3000/static/js/7.chunk.js:15161:14)
at CalendarBase.onPropertyChanged (http://localhost:3000/static/js/7.chunk.js:16199:16)
at Calendar.onPropertyChanged (http://localhost:3000/static/js/7.chunk.js:17531:46)
at Calendar.Base.dataBind (http://localhost:3000/static/js/7.chunk.js:1179:12)
at Calendar.Component.dataBind (http://localhost:3000/static/js/7.chunk.js:2254:31)
at HeaderRenderer.setCalendarMinMaxDate (http://localhost:3000/static/js/7.chunk.js:135125:27)
at HeaderRenderer.previousNextIconHandler (http://localhost:3000/static/js/7.chunk.js:135605:10)
at TimelineViews.ViewBase.getRenderDates (http://localhost:3000/static/js/7.chunk.js:139547:32)
at Render.initializeLayout (http://localhost:3000/static/js/7.chunk.js:136917:28)
at Render.render (http://localhost:3000/static/js/7.chunk.js:136829:10)
at ScheduleComponent.Schedule.initializeView (http://localhost:3000/static/js/7.chunk.js:121583:23)
at Observer.
(http://localhost:3000/static/js/7.chunk.js:121779:19) at Observer.notify (http://localhost:3000/static/js/7.chunk.js:9200:24)
at ScheduleComponent.ComponentBase.trigger (http://localhost:3000/static/js/7.chunk.js:109005:26)
at Observer.
(http://localhost:3000/static/js/7.chunk.js:121769:15) at Observer.notify (http://localhost:3000/static/js/7.chunk.js:9200:24)
at ScheduleComponent.ComponentBase.trigger (http://localhost:3000/static/js/7.chunk.js:109005:26)
at ScheduleComponent.Schedule.changeDate (http://localhost:3000/static/js/7.chunk.js:121760:10)
at HeaderRenderer.calendarChange (http://localhost:3000/static/js/7.chunk.js:135424:19)
at Observer.notify (http://localhost:3000/static/js/7.chunk.js:9218:21)
at Calendar.Base.trigger (http://localhost:3000/static/js/7.chunk.js:1264:37)
at Calendar.changeEvent (http://localhost:3000/static/js/7.chunk.js:17700:12)
at Calendar.triggerChange (http://localhost:3000/static/js/7.chunk.js:17716:12)
at Calendar.changeHandler (http://localhost:3000/static/js/7.chunk.js:17328:13)
at Calendar.renderTemplate (http://localhost:3000/static/js/7.chunk.js:17392:10)
at CalendarBase.renderMonths (http://localhost:3000/static/js/7.chunk.js:15546:12)
at Calendar.renderMonths (http://localhost:3000/static/js/7.chunk.js:17352:35)
at CalendarBase.createContentBody (http://localhost:3000/static/js/7.chunk.js:15161:14)
at CalendarBase.onPropertyChanged (http://localhost:3000/static/js/7.chunk.js:16199:16)
at Calendar.onPropertyChanged (http://localhost:3000/static/js/7.chunk.js:17531:46)
at Calendar.Base.dataBind (http://localhost:3000/static/js/7.chunk.js:1179:12)
at Calendar.Component.dataBind (http://localhost:3000/static/js/7.chunk.js:2254:31)
at HeaderRenderer.setCalendarMinMaxDate (http://localhost:3000/static/js/7.chunk.js:135125:27)
at HeaderRenderer.previousNextIconHandler (http://localhost:3000/static/js/7.chunk.js:135605:10)
at TimelineViews.ViewBase.getRenderDates (http://localhost:3000/static/js/7.chunk.js:139547:32)
at Render.initializeLayout (http://localhost:3000/static/js/7.chunk.js:136917:28)
at Render.render (http://localhost:3000/static/js/7.chunk.js:136829:10)
at ScheduleComponent.Schedule.initializeView (http://localhost:3000/static/js/7.chunk.js:121583:23)
at Observer.
(http://localhost:3000/static/js/7.chunk.js:121779:19) at Observer.notify (http://localhost:3000/static/js/7.chunk.js:9200:24)
at ScheduleComponent.ComponentBase.trigger (http://localhost:3000/static/js/7.chunk.js:109005:26)
at Observer.
(http://localhost:3000/static/js/7.chunk.js:121769:15)"