Giter Club home page Giter Club logo

Comments (2)

gullerya avatar gullerya commented on August 16, 2024

Well, took some time :) but I've got to this one - indeed there is not formal API to get back to the original object.
I'd like to understand the use-case, due to 2 following concerns:

  • original input is being deep-cloned during the make of the Observable, so the reference to to original object is anyway unpreserved (I consider that to be a consumer-land logic)
  • unproxified object (graph) will destruct the Observable, and if to support otherwise - it'll potentially create a mess of split-brained objects, all similar, some observed some not etc

If the idea is at some point to (A) terminate the observation; and (B) get the raw object with the state as it is on that moment - looks like not a big issue, just would like to understand the what is it for.

from object-observer.

gullerya avatar gullerya commented on August 16, 2024

Closing as of no continuation of discussion. If interested - please reopen.

from object-observer.

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.