@webreflection@mastodon.social 🍥(@WebReflection) 's Twitter Profileg
@[email protected] 🍥

@WebReflection

Web, Mobile, IoT: all JS things since 00's - opinions are my own ™
Currently collaborating with @anacondainc to bring Web standards everywhere 🦄

ID:38654173

linkhttps://medium.com/@WebReflection calendar_today08-05-2009 12:14:50

39,3K Tweets

10,3K Followers

1,2K Following

@webreflection@mastodon.social 🍥(@WebReflection) 's Twitter Profile Photo

TIL in TS (at least via JSDoc) one can’t apparently define both params and properties to the function … a function remains a function and imho that kinda makes sense. I’m rethinking uhtml exports too and found a way to reduce a lot memory consumption too. Soon to be v4 😉

account_circle
Jeff JeffGlass Glass(@JeffersGlass) 's Twitter Profile Photo

Want to full walkthrough of what's new in the latest pyscript_dev release? I'll be hosting a livestream walking through all the new features🎉

Saturday, November 11 @ 2000 UTC (2:00pm Chicago)

Join us live, ask questions, make suggestions, come hang out!

Link in next post 👇

account_circle
@webreflection@mastodon.social 🍥(@WebReflection) 's Twitter Profile Photo

I always said that ShadowDOM is most of the time YAGNI, glad to read I’m not the only one thinking that way. A good read about “simple is good” and “simple just works”.

adactio.com/journal/20618

account_circle
@webreflection@mastodon.social 🍥(@WebReflection) 's Twitter Profile Photo

TFW you spend time on writing technical documentation hoping anyone is going to read it and then Jeff JeffGlass Glass writes a blog post that explains it all in a much friendlier way with examples included 🤯 jeff.glass/post/whats-new… ... this is PyScript today: enjoy the ride 🥳

account_circle
@webreflection@mastodon.social 🍥(@WebReflection) 's Twitter Profile Photo

TFW you spend time on writing technical documentation hoping anyone is going to read it and then Jeff JeffGlass Glass writes a blog post that explains it all in a much friendlier way with examples included 🤯 jeff.glass/post/whats-new… ... this is PyScript today: enjoy the ride 🥳

account_circle
Tim(@tpillard) 's Twitter Profile Photo

Featuring @[email protected] 🍥’s excellent a-route library for the client-side routing (as it did in the original SPA before migrating to RSC).

Who knew Custom Elements would work so well with React?

github.com/WebReflection/…

account_circle
Jeff JeffGlass Glass(@JeffersGlass) 's Twitter Profile Photo

What a day - PyScript 2023.11.1 has been released!

pyscript_dev has been re-written from the ground up to prioritize speed, web-standards, and extendibility. And some new features too!

🐍🧵

account_circle
@webreflection@mastodon.social 🍥(@WebReflection) 's Twitter Profile Photo

is importNode any better or different than cloneNode ?

well, importNode for fragments uses a nodeType check + isShadowRoot check:
github.com/WebKit/WebKit/…

cloneNode just clones the node:
github.com/WebKit/WebKit/…

if you create nodes via template then: content.cloneNode(true) 👍

account_circle
@webreflection@mastodon.social 🍥(@WebReflection) 's Twitter Profile Photo

I’ve lately realize I was generating types based on classic TS module resolution for my JSDoc TS based projects and of course as soon as I’ve moved to node next or esnext *a lot* started falling apart… but that is necessary in some recent/advanced case so watch out tsconfig.json

account_circle
@webreflection@mastodon.social 🍥(@WebReflection) 's Twitter Profile Photo

new js-framework-benchmark released ... I had one suspect / hint that maybe uhtml should do less for one-off templates and 'JIT' repeated usage ... something like light-bootstrap then fine-tune after first-run hints from the second time the same template is used. That'd be cool!

account_circle
@webreflection@mastodon.social 🍥(@WebReflection) 's Twitter Profile Photo

on this note, wake me up when AI or copilot are capable of understanding a test prompt and provide all details about the result in every browser described in the prompt ... *maybe* that day I'll need AI to help me writing and maintaining better code.

account_circle