in which I've found a way to have "protected" properties only the class owner can handle.
these can also be orchestrated as accessor:
static a(self, ..._) {
if (_.length) [self.#a] = _;
return self.#a;
}
| JavaScript | |
| Programming | |
| Web Development | |
| Blog | https://medium.com/@webreflection |
live demo on codepen:
https://codepen.io/WebReflection/pen/zxBRYby?editors=1010
try to compare its code with the original one 😉
in which I've found a way to have "protected" properties only the class owner can handle.
these can also be orchestrated as accessor:
static a(self, ..._) {
if (_.length) [self.#a] = _;
return self.#a;
}
A *HUGE* thank to @loucyx for bringing in the best TS I could dream about around the tiny `element` module 🥳
Everything is fully and properly inferred now, the editor just loves it already!
@Firefox I was wrong about BroadcastChannel, the issue is with Atomics.pause() + there are inconsistencies all over the board 🤦
https://bugzilla.mozilla.org/show_bug.cgi?id=1752287#c25
that's a wrap
I am factoring out coincident/window (soon to be updated) to fully separate concerns and provide a standalone sub-project to nail that part of the stack.
If interested, I started explaining what's behind the scene here 👋
https://github.com/WebReflection/reflected-ffi?tab=readme-ov-file#reflected-ffi
nice and clean via Explicit Resource Management 🥳
This is going to change forever the Python landscape for many purposes, including Server, Front End (PyScript) and DB related libraries.
I am super glad I was involved in shaping the next templating adventure in Python and I am very thankful to them too🤩
https://pep-previews--4124.org.readthedocs.build/pep-0750/
I was hoping for performance benefits around buffered clone but I couldn't expect it being up to 100X faster on complex postMessage round-trips 😱
https://github.com/WebReflection/buffered-clone/issues/2#issuecomment-2602216858