Vue · Senior · Question 55 of 75

What does data-allow-mismatch (Vue 3.5+) do?

<span data-allow-mismatch="text">{{ new Date().toLocaleString() }}</span>

Explanation

Use it for unavoidable differences like dates. It hides the warning but doesn't fix it, so keep its use narrow.

Further reading

Problem with a question

Vue · Senior · question 55

Test yourself

Take the Vue · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz