samk-dev / nuxt-vcalendar

Integrates V Calendar in Nuxt
MIT License
21 stars 2 forks source link

Warning when VCalendar or VDatePicker is mounted #15

Closed acordy closed 2 weeks ago

acordy commented 2 months ago

Hi, first off, thanks for the module!

I'm receiving these console warnings when either component (VCalendar or VDatePicker) is mounted:

[Vue warn] Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided.

With VCalendar, this warning appears six times on mount, and with VDatePicker it appears four times. I'm not using SSR, and I've tried wrapping it in ClientOnly, though that should not affect anything in client-side rendering.

I'm not sure if this is an issue with VCalendar itself, or the module, or if it's just me. Are you seeing these warnings as well?

samk-dev commented 2 months ago

Hi @acordy sorry for the late reply I have a day job 😅. Thanks for reporting

I am using the module on various projects with different versions of Nuxt and Vue and works good if wrapped in ClientOnly during SSR.

If you can share a reproduction I can take a look at it with you.

Regards