2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-15 00:02:26 +03:00

make note of vmid on the client side

This commit is contained in:
Declan de Wet
2016-11-08 08:00:39 +02:00
parent d426c05f47
commit 43e38eddf1
+1 -1
View File
@@ -576,7 +576,7 @@ This is not what we want, since the meta `description` needs to be unique for ev
<meta vmid="description" name="description" content="bar">
```
While solutions like `react-helmet` manage the occurrence order and merge behaviour for you automatically, it involves a lot more code and is therefore prone to failure in some edge-cases, whereas this method is _almost_ bulletproof because of its versatility.
While solutions like `react-helmet` manage the occurrence order and merge behaviour for you automatically, it involves a lot more code and is therefore prone to failure in some edge-cases, whereas this method is _almost_ bulletproof because of its versatility; _at the expense of one tradeoff:_ these `vmid` properties will be rendered out in the final markup (`vue-meta` uses these client-side to prevent duplicating or overriding markup). If you are serving your content GZIP'ped, then the slight increase in HTTP payload size is negligible.
# Performance