/vue-reactivity-study

vue reactivity study

Primary LanguageJavaScript

vue-reactivity-study

vue reactivity study

description

  • try implement reactive, ref, computed, watchEffect within 100+ line of code.

Files

  • /web/lib/main.js contains the main logic
  • /web/lib/main.spec.js is the unit test

local run

# install dependencies
npm install

# start a static web server to host /web folder, and do live reload if any file changed
npm run watch

# run unit tests
npm run test