Giter Site home page Giter Site logo

tuti-toy's Introduction

项目背景

这是一个like vue的项目,目的是为了将vue中的一些还用的api**给提炼出来。

目标

简单的vue响应式更新视图,这里面先不去搞的那么复杂,没有什么虚拟dom,只有node节点的操作。

已完成tag

  1. 数据更新触发试图更新✅
  2. 模版{{}}渲染成数据✅
  3. computed计算属性✅
  4. v-on/@事件的绑定✅
  5. 模版多层对象渲染以及更新,比如:{{info.name}}
  6. 将各个node节点转化成一个对象,对这个对象进行比对更新,提高性能。引入VNode.
  7. 如果连续多次进行更改数据的时候,应该只进行一次试图更新,提高性能;引入nextTick

tuti-toy's People

Contributors

774848686 avatar

Stargazers

 avatar 痴豆S avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.