search

Home  >  Q&A  >  body text

javascript - Can vuejs be rewritten through es6 proxy?

As we all know, the data monitoring of vuejs is based on Object.defineProperty, but after looking at the proxy of es6, I felt that it would be more reasonable to use proxy to replace Object.defineProperty. Then the question is, can it be passed through es6? How about proxy to rewrite vuejs?

PHP中文网PHP中文网2741 days ago1011

reply all(1)I'll reply

  • 欧阳克

    欧阳克2017-06-26 10:54:33

    Did you consider the compilation cost when using es6? ? ?

    reply
    0
  • Cancelreply