This just tries to demostrate the fact that because attr1
is supplied by props
, even though the viewModels property keeps getting set, it just keeps going back to the props
value because of the current implementation.
To run the demo:
- clone this repo (a gist is a repo)
- run
npm install
(ornpm i
if you're nasty) - run
npm start
and checkouthttp://localhost:3000/