Experimental browser for the Atmosphere
I’m sure most are very curious about the “fast” WC implementations and it’s wildly simple. Instead of using `document.createElement` to create WCs, use the WC class directly: `new MyComponent()`. The cost of `createElement` is no joke as you get to bigger scales!
Feb 24, 2025, 3:45 PM
{ "uri": "at://did:plc:fxipo3ogt5nrxjddervd4hxa/app.bsky.feed.post/3liwoxwgu4s2s", "cid": "bafyreiad3skzcebv7qhcbmth5snfizj5fl4obarmrbrzw5zilxmdipfvnq", "value": { "text": "I’m sure most are very curious about the “fast” WC implementations and it’s wildly simple.\n\nInstead of using `document.createElement` to create WCs, use the WC class directly: `new MyComponent()`.\n\nThe cost of `createElement` is no joke as you get to bigger scales!", "$type": "app.bsky.feed.post", "langs": [ "en" ], "reply": { "root": { "cid": "bafyreih5vzjcpburizhcp2bdpr2rrwiqo6gyfkpddwnlgzsg7sffdcrotq", "uri": "at://did:plc:fxipo3ogt5nrxjddervd4hxa/app.bsky.feed.post/3liwox5d4fk2s" }, "parent": { "cid": "bafyreia4nqkd3q5yrdlo223hght7zphhhxq4qvqyvj225egb7hnzxmqvma", "uri": "at://did:plc:fxipo3ogt5nrxjddervd4hxa/app.bsky.feed.post/3liwoxwgs6c2s" } }, "createdAt": "2025-02-24T15:45:19.163Z" } }