From React to native web with nanotags: a migration that saved 100 KB

Evil Martians logo, Pavel Grinchenko Frontend Engineer, title “From React to native web with nanotags: a migration that saved 100 KB”, and a balloon dropping bags of 30 KB, 30 KB, and 50 KB.

Pavel Grinchenko explain how they migrated an Astro marketing site from React and Ark UI to native Web Components, cutting JavaScript by 100 KB. Nanotags is a sub-2.5 KB wrapper that adds validated props, typed refs, and automatic cleanup, plus reusable accessibility attachments for ARIA patterns. With nanostores, it covers dropdowns, modals, and toggles.

evilmartians.com/chronicles/from-react-to-native-web-with-nanotags-a-migration-that-saved-100kb