So it turns out that if you use private class fields, these objects are buggy when proxied.
See https://codepen.io/leaverou/pen/ExdWwax?editors=0012
That’s …very unfortunate. It means you cannot use these objects in #vue for example (Vue testcase: https://codepen.io/leaverou/pen/MWPpEQg?editors=1012 )
@leaverou
Sad news for me. I really would love to be able to use them with Vue.
Private fields are a godsend for maintainability, but are real troublemakers in most languages for serializing, proxying, unit testing...
Sigh.
CleverLibre Social is an inclusive social instance for open discussion, learning, and community. All cultures welcome. Hate speech and harassment strictly forbidden.