Git Product home page Git Product logo

Comments (2)

solkimicreb avatar solkimicreb commented on July 28, 2024

Yes, thats true, I wil fix this in the next release (scheduled in a few days).

FYI: Maps and Sets are built-in objects, which need special treatment. Proxies can't be used with built-ins because they use internal (non JS) slots that can't be intercepted. Currently I patch them the old school way (by overwriting their methods). I will fix this by wrapping them in a Proxy, which only intercepts when the key is not the name of a standard Map/Set method. Otherwise it falls back to the old school patching.

TLDR: after the next update any property will be observable of Maps and Sets (including size)

Thx for the bug catch (:

from observer-util.

solkimicreb avatar solkimicreb commented on July 28, 2024

I fixed it with the next version (3.0.0). There are also a few breaking changes (the signal methods got moved to the library scope). Please read the readme for them. I also fixed some not yet raised issues (namely: expando props on es6 collections and $raw collections not being proper collections). Sorry for taking so long. The change log is coming later today.

Closing this now, thx for the issue (:

from observer-util.

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.