Code Monkey home page Code Monkey logo

libx's People

Contributors

baedrian avatar ddproxy avatar dependabot[bot] avatar jeffijoe avatar mindreframer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

libx's Issues

Releasing v1.0?

As there wasn't any update in the past 1,5 years, what do you think about merging all open PRs related to dependency upgrades (or manually update to the latest) and then release v1.0.0 on npm?

Add LoDash orderBy method to collection

It's a really great idea to add LoDash method to the libx collection!

I think that a sorting method also should be a 'must' when we are talking about collections. LoDash has at least 2 methods to do that: sortBy & orderBy, where orderBy is more complete because he allows to specify the sorting order.

Do you see some complexity to use LoDash orderBy method?

https://lodash.com/docs/4.17.4#orderBy

Cross-store communication and reactions

Hello and thanks for this lib!

I've implemented something similar in my projects before and there is one big problem I've encountered. And it's with cross-store communication and setting up reactions in store's constructor methods.

Say you have 2 stores: A and B and inside your RootStore you create A store first. Now you get the reference to the instance of RootStore inside A's constructor, but you don't have a reference to the B store because at that point it doesn't exist yet.

How do you set up mobx reactions in A store that would depend on observables from store B?

I've ended up splitting creation and initialization of stores into 2 phases: constructor and init(meaning that first all stores are created and then all init methods are called on those stores) so inside init method of any store you have access to any other store and by convention we only set up reactions and otherwise reference other stores only inside those init methods.

How do you solve this problem in this library?

A question about descruction

Hi,
Great lib so far!
I've read the README through and through and did not find anything about removing references.

Let say I have model A that created a model B and is referencing it in a computed property.
If A is removed, I want to make sure B is removed as well.

Is it possible? What did I miss?

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.