vue-setState
Using React style setState method in Vue, Apply to optimize rendering speed of big data
Install
$ npm i vue-setstate -S
Usage
Vue
Then in your component:
<script> state: // your data here name: 'tom' methods: { this } { this } </script>
Warning:
state
is not reactive!, you must usesetState
method if you want to change the view.
License
Copyright (c) 2017-present, Army-U