Skip to content

Commit

Permalink
docs: Update README.md (apertureless#590)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cade Kynaston authored Feb 26, 2020
1 parent 01ea4e1 commit d27081b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Chart.js does not provide a live update if you change the datasets. However, `vu

Both mixins do actually achieve the same. Most of the time you will use `reactiveProp`. It extends the logic of your chart component and automatically creates a prop named `chartData` and adds a `vue watch` on this prop. On data change, it will either call `update()` if only the data inside the datasets has changed or `renderChart()` if new datasets were added.

`reactiveData` simply creates a local chartData variable which is not a prop! and adds a watcher. This is only useful, if you need single purpose charts and make an API call inside your chart component.
`reactiveData` simply creates a local chartData variable which is not a prop! and adds a watcher. This is only useful if you need single purpose charts and make an API call inside your chart component.

### Example

Expand Down

0 comments on commit d27081b

Please sign in to comment.