Git Product home page Git Product logo

Comments (6)

trxcllnt avatar trxcllnt commented on July 17, 2024

@michaelbpaulson @jhusain do you anticipate this has an impact on the set*asPathValues methods? If so, how should we compare leaves wrt to metadata and values? I remember we toyed around with this idea earlier on and decided against, because it's difficult to meaningfully diff unknown datasets without exposing a comparator (which I'm not necessarily against).

from falcor.

jhusain avatar jhusain commented on July 17, 2024

A comparator make sense to me. Otherwise we can use ===.

JH

On Apr 9, 2015, at 7:28 PM, Paul Taylor [email protected] wrote:

@michaelbpaulson @jhusain do you anticipate this has an impact on the set*asPathValues methods? If so, how should we compare leaves wrt to metadata and values? I remember we toyed around with this idea earlier on and decided against, because it's difficult to meaningfully diff unknown datasets without exposing a comparator (which I'm not necessarily against).


Reply to this email directly or view it on GitHub.

from falcor.

ktrott avatar ktrott commented on July 17, 2024

Falcor meeting:

@michaelbpaulson : In set toPathValues just doesn't make sense. get double everything you do.

@trxcllnt : set the things in the cache locally, do the network request and onNext what the network request returns

@michaelbpaulson : I want the set to occur immediately on the client. But weird to be onNexted twice when the server response comes back.

Needs more discussion as everyone seems a bit confused on how things are supposed to work.

from falcor.

jhusain avatar jhusain commented on July 17, 2024

The right answer here is to dedupe values. Only onNext when value changes after server response comes back. For custom comparison we can use the compared API introduced for the observe method.

from falcor.

ktrott avatar ktrott commented on July 17, 2024

We would use the same comparer function being added for #91

from falcor.

ktrott avatar ktrott commented on July 17, 2024

Related to issue #170

from falcor.

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.