Closed jorgenader closed 1 year ago
Currently the eventcalendar does not work with immutable objects (resources, events). We're planning to make it work, until than the workaround is to pass a deep copy of the data, which is not immutable.
We added the immutableData option in 5.28.0, when set to true
, the calendar will not modify the passed data.
Issue occurs when rendering calendar with resouces from Immer based reducer.
Example reducer:
and in the component rendering the calendar:
Mobiscroll version: 5.26 Immer: 9.0