+ HAVE MORE+ ASK FOR MORE
RODNEY LAB NEWS
  • Newsletter
  • Tutorials
  • Blog
RODNEY LAB NEWS
  • Newsletter
  • Tutorials
  • Blog

Subscribe to the newsletter

By subscribing, you agree with our Terms of Use and Privacy Policy.
READING TIME: 3 MINUTES

Rodney Lab Newsletter — November 2022Rodney Lab Newsletter — November 2022

blurry low resolution placeholder imageRodney Lab Newsletter

Font spacing

Font size

🧑🏽‍🍳 Pick of the Month — vanilla-extract #

If you have followed me for a while, you will know I am a huge vanilla-extract fan. It has a lot of the features of Tailwind and in fact many of the benefits of CSS in JS frameworks. However, in my opinion, two factors make it worth considering vanilla-extract as an alternative: TypeScript and zero-runtime overhead. You write your styles in TypeScript, so get the in-editor DXDeveloper Experience benefits of Intellisense, checking and completion. The bonus is that the tooling (works with Vite, ESBuild and WebPack) transpiles the styles, and you only ship CSS to the browser — no UXUser Experience performance hit.

🚀 Follower Feedback #

I really can’t believe how much interest in Astro has picked up recently. Especially as the market for site generators is so crowded at the moment. My guess is that it is Astro’s ease of use that is driving its adoption; Astro is not fussy about how you do things, and on top, it is fast at building your fast site! Keen to hear your take, though. Anecdotally, Astro seems to be the go-to generator for knocking up a quick demo. Do you think it is flexibility diving the adoption? You can use plain old HTML, React, Svelte, Vue and more) and on top create static or SSRServer-Side Rendered content sites. Or do you think something else is behind it? Either way, thanks for the nice feedback comments on the Astro blog posts.

📢 Fun Finds #

  • Productivity — Neovim Guide & Neovide: after running into performance issues on a project in VS Code/VSCodium I wanted to try editing the code in Vim from the console. A lot of Vim material assumes you know the basics (and more aside) of Vim and Neovim config already. I stumbled across an excellent blog post on setting up Neovim from step one. It is comprehensive and assumes no prior vim knowledge. Doing a little each morning over a week, I was so happy with the results that, I didn’t even wait to finish the tutorial to thank Jake for creating the post. I am using Neovide — a lightweight GUI for Neovim, built in Rust and available in Homebrew. 100.00% solved the issues with the project and I couldn’t be happier!
  • Hosting — Deno Deploy, Rust & WASM: I had another issue, on a Rust Cloudflare Worker side project. Unfortunately Cloudflare WASMWebAssembly code has to be 1 MB or smaller. Despite trying a few optimizations, I couldn’t even get close. Reaching out to the Deno team, Luca Casonato delivered fantastic news — they have a giant 20 MB limit 😁. I rewrote the Cloudflare Worker as a Deno project at the end of a Friday afternoon! A Deno/TypeScript part provided the server, listening for incoming requests. I refactored the existing Rust code and compiled it to WASM with wasm-pack. This worked a treat: deploy process is seamless, and I cannot fault Deno on anything.
  • Resources — Writing Performant CSS: excellent, detailed article on running vanilla-extract in Vite from LekoArts.

👋🏽 Until next time! #

Hope there was something valuable in here for you. As always, reach out with feedback and until next time, here are a few highlight posts/tutorials:

  • Astro Server-Side Rendering: Edge Search Site
  • Astro vanilla-extract Styling: CSS in TypeScript
  • Astro Sitemaps: Add Post and Page XML Sitemaps
Did you find this issue useful?
  • 🧑🏽‍🍳 Pick of the Month — vanilla-extract
  • 🚀 Follower Feedback
  • 📢 Fun Finds
  • 👋🏽 Until next time!

Subscribe to Email and RSS

If a friend or colleague forwarded this to you, and you like it, you can subscribe to receive the newsletter in your inbox, but you don’t have to! If you prefer, subscribe to the newsletter RSS feed or just even check back to see the latest newsletter issue once a month.

Ask for more

1 Nov 2022—Astro Server-Side Rendering: Edge Search Site
3 Oct 2022—Svelte eCommerce Site: SvelteKit Snipcart Storefront
1 Sept 2022—Get Started with SvelteKit Headless WordPress

Copyright © 2022 – 2025 Rodney Johnson. All Rights Reserved. Please read important copyright and intellectual property information.

  • Home
  • Profile
  • Plus
  • Newsletter
  • Contact
  • Links
  • Terms of Use
  • Privacy Policy
We use cookies. Some (optional) cookies help to work out which content visitors find most useful. Please click the “Options” button to make a choice. Learn more here.

Some cookies are set in order to move around the website and use its features. Without these cookies, services cannot be provided.

We use our own web analytics cookie to help us know which content is most useful and give us an idea of the audience. The cookie code creates a random identifier for each new session. It associates a time stamp, your browser user agent, locale and country with the session when that information is available. If you came here from another page, we will also associate that referring page with the session identifier when that information is available. Please see the Privacy Policy for further details. The web analytics cookie is optional.