GithubHelp home page GithubHelp logo

vue3-task-reducer's Introduction

vue 3 task reducer

  • 任务归纳系统
  • 从视图中抽离逻辑
  • 事件驱动
  • typescript 支持

preview

抽离逻辑

从组件中抽离逻辑, 让组件只想要关注视图和数据的传递

extract-logic

示例

普通开发模式和 taskReducer 模式对比

实际项目应用

TODO

基本逻辑写完了没有问题, 但是 ts 类型约束还有点问题, 导致 ts 爆红,

而且代码提示稍微有点问题, 但是主体逻辑没有问题可以自行

vue3-task-reducer's People

Contributors

liaohui5 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.