docs icon indicating copy to clipboard operation
docs copied to clipboard

Missing explanation of the Callback Flush Timing `'sync'` option

Open DrJume opened this issue 3 years ago • 1 comments

https://vuejs.org/guide/essentials/watchers.html#callback-flush-timing

DrJume avatar Mar 11 '22 12:03 DrJume

I suspect it's intentionally missing from that section, as sync is an escape-hatch for edge cases and not necessarily something that needs to be covered in the main guide. However, it doesn't currently seem to be explained anywhere else, and I'd definitely agree that it needs to be explained somewhere.

skirtles-code avatar Mar 24 '22 00:03 skirtles-code

A brief explanation of flush: 'sync' was added in #1895. The explanation is in the API docs, rather than the guide.

skirtles-code avatar Jan 05 '23 09:01 skirtles-code