Skip to content

Commit a71429e

Browse files
committed
📝 Update docs with reactivity limitations
1 parent 90f2ffd commit a71429e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

‎docs/README.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,18 @@ export default Line.extend({
239239
</style>
240240
```
241241

242+
<p class="warning">
243+
âš  Attention: If you mutate your data in a parent component and pass it to your child chart component keep in mind the javascript limitiations.
244+
More info in this [issue#44](https://github.com/apertureless/vue-chartjs/issues/44)
245+
</p>
246+
247+
### Limitations
248+
<ul>
249+
<li>[Caveats](https://vuejs.org/v2/guide/list.html#Caveats)</li>
250+
<li>[Change-Detection-Caveats](https://vuejs.org/v2/guide/reactivity.html#Change-Detection-Caveats)</li>
251+
<li>[vm.$watch](https://vuejs.org/v2/api/#vm-watch)</li>
252+
</ul>
253+
242254
## Chart.js object
243255

244256
Sometimes you need more control over chart.js. Thats why you can access the chart.js instance over `this._chart`

0 commit comments

Comments
 (0)