Subscribe on changes!

hasOwnProperty is not tracked

avatar
Nov 16th 2020

Version

3.0.2

Reproduction link

https://jsfiddle.net/skirtle/1h6ucq9p/

Steps to reproduce

  1. Using the example provided, click the button 'Change'.
  2. No rendering occurs.
  3. Click 'Force' to see the changes.

What is expected?

Using hasOwnProperty during rendering should track the corresponding property.


It seems that we would need a proxy handler for getOwnPropertyDescriptor. I don't see anything like that in the current code.

If this omission is by design then I think it should be documented.