This resulted in 100 KB less JavaScript and no functionality lost. In the process, we built a tiny library called nanotags that makes Custom Elements enjoyable to write.
Here's how we did it:
This resulted in 100 KB less JavaScript and no functionality lost. In the process, we built a tiny library called nanotags that makes Custom Elements enjoyable to write.
Here's how we did it:
evilmartians.com/chr...
evilmartians.com/chr...
It fits perfectly the cases like small widgets on landing pages or third-party widgets.
psd-coder.github.io/nanotags/
It fits perfectly the cases like small widgets on landing pages or third-party widgets.
psd-coder.github.io/nanotags/
Here's how we did it: evilmartians.com/chronicles/f...
Here's how we did it: evilmartians.com/chronicles/f...
Still squirrelly!
Still squirrelly!
It's basically like nanotags, but using alien-signals as state machine, and with some helpers for serverside rendering.
#devlog
It's basically like nanotags, but using alien-signals as state machine, and with some helpers for serverside rendering.
#devlog
➡️ https://vist.ly/3mqxfqh
#ornithology #migration #social_networks
➡️ https://vist.ly/3mqxfqh
#ornithology #migration #social_networks
📸: Oliver Metcalfe & @charlottefoote.bsky.social
#LotekTelemetry #AdvancingWildlifeScience #BirdsCanada
1/2
📸: Oliver Metcalfe & @charlottefoote.bsky.social
#LotekTelemetry #AdvancingWildlifeScience #BirdsCanada
1/2
@naturalengland.bsky.social
@spurnbirdobs.bsky.social
@britishbirds.bsky.social
Learn more about NanoTags here: www.lotek.com/products/nan...
2/2
@naturalengland.bsky.social
@spurnbirdobs.bsky.social
@britishbirds.bsky.social
Learn more about NanoTags here: www.lotek.com/products/nan...
2/2
evilmartians.com/chronicles/f...
evilmartians.com/chronicles/f...
https://evilmartians.com/chronicles/from-react-to-native-web-with-nanotags-a-migration-that-saved-100kb
#migrating #react #webcomponents #libraries
https://evilmartians.com/chronicles/from-react-to-native-web-with-nanotags-a-migration-that-saved-100kb
#migrating #react #webcomponents #libraries
evilmartians.com/chr...
evilmartians.com/chr...
Should try astro. It's still not clear how to render web components on a server. Maybe nanotags can help with that.
This resulted in 100 KB less JavaScript and no functionality lost. In the process, we built a tiny library called nanotags that makes Custom Elements enjoyable to write.
Here's how we did it:
Should try astro. It's still not clear how to render web components on a server. Maybe nanotags can help with that.
This resulted in 100 KB less JavaScript and no functionality lost. In the process, we built a tiny library called nanotags that makes Custom Elements enjoyable to write.
Here's how we did it:
<< ...I’ll share how I migrated a site from React to native Web Components, why that worked better than I expected, and how the patterns I used along the way grew into a small library called nanotags... >>
<< ...I’ll share how I migrated a site from React to native Web Components, why that worked better than I expected, and how the patterns I used along the way grew into a small library called nanotags... >>
evilmartians.com/chronicles/f...
evilmartians.com/chronicles/f...