“Node.js can run TypeScript” by @samthor
https://samthor.au/2024/node-run-typescript/
| Web | https://samthor.au |
| Bluesky | https://bsky.app/profile/samthor.au |
| Web | https://samthor.au |
| Bluesky | https://bsky.app/profile/samthor.au |
“Node.js can run TypeScript” by @samthor
https://samthor.au/2024/node-run-typescript/
Mastodon is a noble cause, but I feel like it's the Firefox of social media.
So I'm over on Bluesky now: https://bsky.app/profile/samthor.au
Kuto: ship JavaScript updates incrementally
@samthor
https://samthor.au/2024/kuto/
Today is my last day as a greentech CTO.
It's been great advancing the renewable energy space, and no doubt I'll pop up here again. And I have some other tech ideas brewing: I'm building and available for consulting ☕
For now though... 🤰🔜👶
This is a great article on what might seem like the simple act of removing event listeners from objects in #JavaScript. There are more options than just removeEventListener(). Particularly interesting, is using the AbortController.
https://www.macarthur.me/posts/options-for-removing-event-listeners
Then for more AbortController goodness, check out @samthor's posts: https://whistlr.info/2022/abortcontroller-is-your-friend/ and more recently https://whistlr.info/2023/abortcontroller-for-expiry/.
There's some very cool things you can use the AbortController for!