Hi,
If we use a custom viewPreset, such as:
const getCustomViewPreset = () => {
return {
tickWidth: 65,
shiftIncrement: 1,
shiftUnit: 'day',
timeResolution: {
unit: 'day',
increment: 1,
},
headers: [
{
unit: 'month',
align: 'end',
},
{
unit: 'day',
dateFormat: 'DD',
},
],
columnLinesFor: 0,
};
}
instead of a default viewPreset like 'weekAndMonth', we are noticing a significant performance loss.
For example, in one of our test scenarios we found out getCustomViewPreset() takes 1.9s to load, while the 'weekAndMonth' viewPreset takes 1.3s.
Is there an optimization that can be done to improve performance?
Thanks,
Derreck