sindresorhus/
Watch an object or array for changes
USD raised
Recent activities
Unsubscribe
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
Use on-change in codepen
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
proxy is revoked when proxy is assigned to itself even when the property is ignored
Spread Operator not working for Sets ([...someSet])
Detection of arrays modified in size
Changes not detected on internal variables
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
An Object's onChange function does not get called when a property is set from another object's setter function
TypedArrays set not working
[browser] Array.prototype.forEach() / .map() do not work
Install it via CDN
Problem with Parent-Leaf-Parent Relation in a watched object
Detect and trigger on root changes
© 2019 BoostIO, Inc.