sindresorhus/
Watch an object or array for changes
USD raised
Recent activities
An Object's onChange function does not get called when a property is set from another object's setter function
Spread Operator not working for Sets ([...someSet])
Detection of arrays modified in size
Changes not detected on internal variables
defineProperty should consider that descriptor.value is undefined when calling handleChangeOnTarget
Feature request: support async calls on validate and / or on change
What are breaking changes in version 3
Map.set callback not triggered with correct arguments
Breaks on TypedArrays
Convert to ES6 module syntax
Slow down major releases
node js support?
Non ESM version available?
Objects onChange function not getting called when property is set from another object's setter function
proxy is revoked when proxy is assigned to itself even when the property is ignored
TypedArrays set not working
[browser] Array.prototype.forEach() / .map() do not work
Not detecting underlying field changes in javascript setter within a Class
TypeError: Cannot read properties of undefined (reading 'Symbol(ProxyTarget)')
Path is empty for changes to class from own method
Exception: This is not a Date object when details===true
Install it via CDN
Cannot read properties of undefined (reading 'indexOf')
Problem with Parent-Leaf-Parent Relation in a watched object
array.indexOf not working after filter
Detect and trigger on root changes
onChange() fires only once if a child object referenced multiple times in a watched object is modified
Fails to watch object with property named "undefined"
Use on-change in codepen
someArray.map triggers change
Path should be an array
RangeError: Maximum call stack size exceeded
Methods that return new objects (.map, .filter) should be proxied as well.
Call the callback when setting a new property to undefined
Don't trigger the callback if the operation fails
Improve "apply" trap performance
defineProperty doesn't check for equality
Not detecting underlying field changes in javascript setter
Heyy I am the developer of Watch.JS and I am redirecting my users to you :P
Tracking classes
Giving information about the method name for arrays
Stop watching object once it is removed
Unsubscribe
Looping a handler function in onChange when using map function.
Omit reIndexing of arrays when methods like unshift or splice are used
Not just pass the name to the listener but also the arguments
inconsistent arguments are passed to the listener
Able to use in a Vanilla JS environment
TypeScript definition invalid for pathAsArray: true
Incompatible receiver error with Set/Map
rewrite
isShallow: false can result in proxies getting wrapped with proxies
Another example of a proxy wrapped in a proxy
Map and Set iterators throw error.
Map and Set forEach throw errors
Callback triggered for changes on inheriting objects
Β© 2019 BoostIO, Inc.