markdalgleish Profile Banner
Mark Dalgleish Profile
Mark Dalgleish

@markdalgleish

Followers
72K
Following
47K
Statuses
25K

🦄 CSS Modules co-creator / 💿 @remix_run + React Router at @shopify / @MelbJS organiser / 🧁 Vanilla Extract / dad x4

Melbourne, Australia
Joined February 2011
Don't wanna be here? Send us removal request.
@markdalgleish
Mark Dalgleish
4 years
👇 NEW CSS-IN-JS LIBRARY ALERT! 🧁 vanilla-extract 🔥 Zero-runtime Stylesheets-in-TypeScript ✨ Minimal abstraction over standard CSS 🦄 Works with any front-end framework 🌳 Locally scoped classes + CSS Variables 🎨 High-level theming system
Tweet media one
53
240
1K
@markdalgleish
Mark Dalgleish
1 day
Exciting!
@remix_run
Remix 💿
1 day
It’s time to get the band back together
1
0
21
@markdalgleish
Mark Dalgleish
2 days
@ken_wheeler 3.5mm audio cable.
0
0
8
@markdalgleish
Mark Dalgleish
2 days
COMING SOON: Experimental @vite_js Environment API support in React Router v7. Check this out — a single `vite build` command can co-ordinate a full client + multi-server build. Previously this was only possible via the `react-router` CLI. We're “just a Vite plugin” again 😎
Tweet media one
6
13
287
@markdalgleish
Mark Dalgleish
4 days
@tweetmonster999 @vite_js @kentcdodds @ryanflorence You should have access to regular old environment variables in there?
1
0
2
@markdalgleish
Mark Dalgleish
9 days
@matallo Ughhhh
0
0
2
@markdalgleish
Mark Dalgleish
10 days
@markdalgleish
Mark Dalgleish
10 days
With React Router’s upcoming Split Route Modules feature that I’ve been working on, I’ve got the chunk name in the build output now so it’s easier to tell what’s downloading when. Here’s a before and after in the network tab.
Tweet media one
Tweet media two
2
0
3
@markdalgleish
Mark Dalgleish
10 days
With React Router’s upcoming Split Route Modules feature that I’ve been working on, I’ve got the chunk name in the build output now so it’s easier to tell what’s downloading when. Here’s a before and after in the network tab.
Tweet media one
Tweet media two
1
1
37
@markdalgleish
Mark Dalgleish
10 days
@mrm008 8b on M1 MacBook Prob with 16GB RAM.
0
0
2
@markdalgleish
Mark Dalgleish
11 days
@oleg008 @ryanflorence It’s an entry point to the build so it could have heaps of stuff in it.
0
0
3
@markdalgleish
Mark Dalgleish
11 days
Yep. Initially I thought this work would be trivial because I hoped I’d be able to simply create a virtual module that reexports anything I wanted to put in the chunk, but I hit up against the limitation that chunking didn’t go smaller than the module level in Rollup. I hadn’t heard that about Turbopack. Is anyone else doing this?
1
0
0
@markdalgleish
Mark Dalgleish
11 days
@devagrawal09 I swear I didn’t mean anything by this 🙈
0
0
1
@markdalgleish
Mark Dalgleish
17 days
We should all agree to start rebranding “plugins” to “mods.” So much cooler.
1
0
17
@markdalgleish
Mark Dalgleish
30 days
@lucasjamesquinn We are, please don’t make me explain my joke 😅
0
0
3