jaylu / vue-reactivity-study

vue reactivity study

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

vue reactivity study


Languages

Language:JavaScript 99.6%Language:HTML 0.4%