Using a recursive Proxy to achieve this is a really smart @Barret. Having said that, a recursive proxy implementation would surely not be possible without taking a significant performance hit. Thus, I don’t think Proxies are ideal for anything that is meant to be widely used throughout the codebase.
Also, something else that I think we should keep in mind since type systems like TypeScript have been widely adopted is how such type systems would be able to infer the type from a recursive Proxy.
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

