Colin van Eenige's Avatar

Colin van Eenige

@cvaneenige.bsky.social

Lead Front-end / Design Engineer at Stream You might remember: https://webgl.app ✨ #CSS #JavaScript #WebGL #performance

116 Followers  |  141 Following  |  19 Posts  |  Joined: 16.08.2023  |  1.5384

Latest posts by cvaneenige.bsky.social on Bluesky

Keep your HTML clean.

22.03.2025 10:35 — 👍 1    🔁 0    💬 0    📌 0

PHP had it right after all; we've come full circle.

14.02.2025 16:00 — 👍 2    🔁 0    💬 0    📌 0

Finding the right balance between precomputing and on-demand calculations can make a huge difference in user experience.

11.02.2025 19:57 — 👍 3    🔁 0    💬 0    📌 0

Spent time over the weekend building a menu component focused on accessibility and interaction. I still need to optimize the size, but it's currently under 1 kB. The details matter so much.

09.02.2025 21:40 — 👍 1    🔁 0    💬 0    📌 0

Working on what might be the best navigation I’ve ever built.

07.02.2025 19:00 — 👍 1    🔁 0    💬 0    📌 0

The best HTML framework? It's @astrodotbuild.

05.02.2025 17:00 — 👍 1    🔁 0    💬 0    📌 0

Plain JavaScript is underrated. We’ve grown so accustomed to abstractions, and for good reason, but sometimes the minimal solution is actually the better choice.

05.02.2025 15:00 — 👍 5    🔁 0    💬 0    📌 0
Preview
GitHub - AndreasMadsen/htmlparser-benchmark: Simple benchmark for diffrent htmlparsers using real-life data Simple benchmark for diffrent htmlparsers using real-life data - AndreasMadsen/htmlparser-benchmark

Trade-off in handling attributes during parse or on property access. During parse will push it to 0.4 ms/file. The attributes will only be parsed once regardless of how many times they are accessed.

Benchmark from github.com/AndreasMadse...

27.12.2024 14:03 — 👍 0    🔁 0    💬 0    📌 0
Post image

Working on the Astro Pipeline, which also turns out to be the fastest HTML parser out there. Query speed is not included in this benchmark, but it's also heavily optimized. Adding serialization for updates next.

27.12.2024 14:00 — 👍 2    🔁 0    💬 1    📌 0

Some might argue the optimization at this point, but I find it interesting to learn about performance and memory allocation for specific function calls, especially in iterations. Parsing HTML strings is a different beast.

21.12.2024 21:24 — 👍 3    🔁 0    💬 0    📌 0

Made an insanely fast HTML validator: benchmarked 10K nested nodes with attributes, parsing ~1.5ms, querying ~0.2ms. Almost perfect.

21.12.2024 21:24 — 👍 4    🔁 0    💬 1    📌 0

Noticed that in @astro.build v5.0, HTML boolean attributes now behave differently. Previously, you could use hidden="anything" and it would output as-is, but now it strips the "anything". Better for final output, inconvenient for processing.

05.12.2024 15:41 — 👍 1    🔁 0    💬 0    📌 0
Preview
Astro 5.0 | Astro Astro 5.0 brings exciting new features like the Astro Content Layer for seamless content loading from any source, and Server Islands for effortlessly combining static and dynamic personalized content.

Astro 5.0 is here.
Content layer, server islands, simplified prerendering, type-safe env, @vite.dev v6. All stable.

Go see what you can do 👇
astro.build/blog/astro-5/

03.12.2024 18:20 — 👍 595    🔁 161    💬 24    📌 48
Preview
Announcing Vite 6 Vite 6 Release Announcement

Vite 6.0 is out ⚡️
vite.dev/blog/announc...

26.11.2024 14:26 — 👍 1482    🔁 334    💬 33    📌 63

The View Transitions API is one of the most exciting CSS features I've explored recently. Very powerful, but also complex.

27.11.2024 16:00 — 👍 4    🔁 1    💬 1    📌 0

50 followers to start with, looking for more previous connections that got quiet on the other platform. Used to share a lot about web performance, WebGL and CSS. Let’s connect again! 👋

27.11.2024 08:12 — 👍 4    🔁 1    💬 0    📌 0

Created a #threejs starter pack at go.bsky.app/2dqJYAt - share #threejs relevant content (with the hashtag) and ping me if you'd like to join it! Also if you'd like anyone to be in it, let me know! I added 30 ish to begin with, will grow it over time.

26.11.2024 15:39 — 👍 29    🔁 6    💬 11    📌 1

Yes, this was released initially one year ago and shared on 𝕏. Quite a few (performance) improvements pending, should I get back to it?

25.11.2024 09:34 — 👍 0    🔁 0    💬 0    📌 0
Video thumbnail

Here's webgl.app – Delivering satisfying visuals through patterns. Take a look and let me know what you think! ✨ #webgl #threejs

25.11.2024 09:34 — 👍 28    🔁 2    💬 1    📌 0

Web Performance Starter Pack! Who else is on here? ✍️

22.11.2024 09:21 — 👍 1    🔁 0    💬 0    📌 0

Ship less JavaScript.

22.11.2024 08:53 — 👍 1    🔁 0    💬 0    📌 0

I love writing CSS.

21.11.2024 19:00 — 👍 0    🔁 0    💬 0    📌 1

@cvaneenige is following 20 prominent accounts