Giter Club home page Giter Club logo

Comments (4)

geekact avatar geekact commented on July 17, 2024 1

@lhr000lhr 0.11.0 模型增加了computed属性,文档:https://foca.js.org/#/model?id=computed ,也许会是你们想要的。

一开始的设计思路是内置一下reselect,不过用起来挺烦的,每次需要手动指定deps,影响开发速度。

from foca.

fwh1990 avatar fwh1990 commented on July 17, 2024

尝试过,不过reselect的依赖项属于业务需求,集成恐怕不太现实。有什么思路吗?

from foca.

lhr000lhr avatar lhr000lhr commented on July 17, 2024

I am also looking forward to having it.

from foca.

arcsin1 avatar arcsin1 commented on July 17, 2024

尝试过,不过reselect的依赖项属于业务需求,集成恐怕不太现实。有什么思路吗?

en,看了下实现,其实是不需要了,因为已经有immer了。加入了或许会有一些负担。你这个model实现很好用,已经让我团队在用了,感谢!

from foca.

Related Issues (20)

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.