Peter Reeves on Nostr: I'm trying to use a WebComponent for the first time, and man it's not a great ...
I'm trying to use a WebComponent for the first time, and man it's not a great experience. Copying and pasting minified JS and CSS into my repo isn't a great feeling. Then developing with it is annoying, as it breaks HMR trying to redefine the element each time I make a change.
#WebDev
Published at
2025-01-13 02:16:13 UTCEvent JSON
{
"id": "2da974b17578f0845711a7e902843b842fd3156f12a8fde0a9ce6b668f983f26",
"pubkey": "4f0f3fdbb78b9a8ae771cfb83269f2dae5970d45803b9426bdc19d71976c1f4f",
"created_at": 1736734573,
"kind": 1,
"tags": [
[
"proxy",
"https://mstdn.social/@peterreeves/113818637028547929",
"web"
],
[
"t",
"webdev"
],
[
"proxy",
"https://mstdn.social/users/peterreeves/statuses/113818637028547929",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mstdn.social/users/peterreeves/statuses/113818637028547929",
"pink.momostr"
],
[
"-"
]
],
"content": "I'm trying to use a WebComponent for the first time, and man it's not a great experience. Copying and pasting minified JS and CSS into my repo isn't a great feeling. Then developing with it is annoying, as it breaks HMR trying to redefine the element each time I make a change.\n\n#WebDev",
"sig": "e38f10065467da2e87a69c82bca4e240ad0cb16f6bde5a7d1275e13d3e0ce6da1ab6d123c390cd7140c64e347ab8a49d4fa59e4c60c3b8129a1d3de05d945f35"
}