was reading through the code to see how observable is implemented with proxies. I saw this line https://github.com/nx-js/observer-util/blob/master/src/handlers.js#L28 and thought rawToProxy should work as a cache to avoid recreating proxy if some nested property is accessed multiple times. but after search by rawToProxy I could not find any set call.
I understand that it only affects perfomance but not affect the correcntess of behavior
was reading through the code to see how observable is implemented with proxies. I saw this line https://github.com/nx-js/observer-util/blob/master/src/handlers.js#L28 and thought
rawToProxy
should work as a cache to avoid recreating proxy if some nested property is accessed multiple times. but after search byrawToProxy
I could not find anyset
call.I understand that it only affects perfomance but not affect the correcntess of behavior
edit: seems same is for
proxyToRaw