Sign in

Mark Dalgleish

@markdalgleish.com
6.6K followers 74 following 84 posts

🦄 CSS Modules co-creator / 💿 Remix + React Router at Shopify / 🧁 Vanilla Extract / MelbJS organiser / dad x4

PostsRepliesMedia
Mark Dalgleish @markdalgleish.com · 20/10/2025
I put together an example of using Remix 3 with Storybook via its lower-level `html-vite` framework. I wasn't sure how to do this going in, so this was a fun exercise! github.com/markdalgleis...
github.com
GitHub - markdalgleish/remix-storybook-example: An example of how to use Remix 3 with Storybook via `@storybook/html-vite`
An example of how to use Remix 3 with Storybook via `@storybook/html-vite` - markdalgleish/remix-storybook-example
0242
Mark Dalgleish @markdalgleish.com · 17/10/2025
I just created the “Remix 3 Resources” repo, collecting useful links related to Remix 3. It has *super* granular links to the Remix Jam live stream for each API, feature and demo, plus a bunch of demo apps and 3rd party integration examples. github.com/markdalgleis...
github.com
GitHub - markdalgleish/remix3-resources: A collection of useful links relating to Remix 3
A collection of useful links relating to Remix 3. Contribute to markdalgleish/remix3-resources development by creating an account on GitHub.
3416
Reposted by Mark Dalgleish
Cult.Repo @cultrepo.bsky.social · 09/10/2025
"Let's hear it for the UN of Javascript! Vite: The Documentary is finally here. If you missed the premiere, it's OK!!! Here's the link so you can watch it again, and again and again. youtu.be/bmWQqAKLgT4 "
youtu.be
Vite: The Documentary
YouTube video by CultRepo
46929
Reposted by Mark Dalgleish
Jacob @ebey.dev · 16/07/2025
RR + unstable RSC support has shipped. Please give it a go and let me know about any pain points. remix.run/blog/react-r...
remix.run
React Router and React Server Components: The Path Forward
React Router's RSC support is more than just a new feature. It's a major architectural shift that makes it a much more powerful library while also making Framework Mode less coupled to any particular ...
67813
Reposted by Mark Dalgleish
hiogawa.bsky.social @hiogawa.bsky.social · 17/05/2025
This is very exciting! React router and Parcel has shown the proper boundary of RSC support between application layer and as bundler layer. Jacob shared their work with me early and that has been guiding me better for RSC support on Vite. Thanks for the shout out in the post!🙏
1264
Reposted by Mark Dalgleish
Devon Govett @devongovett.me · 16/05/2025
RSC support in React Router powered by Parcel! 🤩
29112
Reposted by Mark Dalgleish
Matt Brophy @brophdawg11.com · 16/05/2025
Check it out - RSC in React Router! Been working on this with @ebey.bsky.social and @markdalgleish.com for a little bit - pumped for folks to start playing with it! remix.run/blog/rsc-pre...
remix.run
React Router RSC Preview
React Router's preview support for React Server Components is now available
69822
Reposted by Mark Dalgleish
Weekly Dev's Brew @weeklybrew.dev · 23/04/2025
React Router v7.5 brings a revolutionary approach to lazy loading route code. You can now lazy load individual route properties instead of everything at once, making your initial load time lightning fast! => remix.run/blog/faster-... by @markdalgleish.com
172
Mark Dalgleish @markdalgleish.com · 18/04/2025
I wrote a blog post 👀👇 In React Router v7.5 we’ve introduced a faster, more granular way to lazy load routes. This new API was designed to support the upcoming middleware API, but it also unlocked some extra performance optimizations across the board. remix.run/blog/faster-...
remix.run
Faster Lazy Loading in React Router v7.5+
React Router v7.5 now supports a faster, more granular approach to lazy loading route code in Data Mode
07211
Reposted by Mark Dalgleish
Taz Singh @tazs.ing · 09/04/2025
Same! I started using this before there were docs or any official announcement for it and was slightly concerned I was doing something I wasn’t supposed to 😅😅😅 Glad it’s now been made official 💍
041
Mark Dalgleish @markdalgleish.com · 08/04/2025
Super excited to see @cloudflare.social launching v1 of their @vite.dev plugin, with first class React Router v7 support. Huge shout out to James Opstad for working with us to ensure support on top of our recent Vite Environment API work. blog.cloudflare.com/introducing-...
blog.cloudflare.com
“Just use Vite”… with the Workers runtime
The Cloudflare Vite plugin integrates Vite, one of the most popular build tools for web development, with the Workers runtime. Today, we are announcing the 1.0 release and official support for React R...
0569
Mark Dalgleish @markdalgleish.com · 15/03/2025
So excited for this @vite.dev documentary. I really enjoyed watching the @react.dev one.
0250
Mark Dalgleish @markdalgleish.com · 06/03/2025
🚀 Just published a blog post about the new Split Route Modules feature I shipped in React Router v7. remix.run/blog/split-r...
remix.run
Split Route Modules
React Router v7.2’s framework mode now supports automatic code splitting of route modules
1629
Mark Dalgleish @markdalgleish.com · 04/03/2025
$ pnpm create react-router
1231
Mark Dalgleish @markdalgleish.com · 07/02/2025
You guys aren’t going to believe this, but today I used a cable from my big box of old cables.
3704680162
Mark Dalgleish @markdalgleish.com · 06/02/2025
COMING SOON: Experimental @vite.dev 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 😎
1017712
Mark Dalgleish @markdalgleish.com · 30/01/2025
> someone says something funny on the group call > unmute > laugh > mute
3805
Mark Dalgleish @markdalgleish.com · 30/01/2025
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.
1330
Mark Dalgleish @markdalgleish.com · 29/01/2025
Having DeepSeek on my laptop gives me a similar feeling to seeing physical encyclopedias on the shelf at home when I was a kid.
2200
Mark Dalgleish @markdalgleish.com · 28/01/2025
Check out what I've been working on in React Router: Split Route Modules. Ryan put together a neat demo of why this is so great for perf. With your client loader split into its own chunk, it can start running ASAP, even before the route component finishes downloading. x.com/ryanflorence...
1220
Mark Dalgleish @markdalgleish.com · 23/01/2025
We should all agree to start rebranding “plugins” to “mods.” So much cooler.
3431
Mark Dalgleish @markdalgleish.com · 10/01/2025
When competing framework authors hang out at a conference.
Trump and Obama sitting next to each other, Trump with a slight smirk talking to Obama who is smiling
0233
Mark Dalgleish @markdalgleish.com · 07/01/2025
One thing I’ve changed my mind on when it comes to documentation is whether to discuss implementation details. The purist in me wanted to leave them out because “the whole point is you don’t need to know!” But in hindsight this paternalises consumers. It leaves them without a good mental model.
121166
Mark Dalgleish @markdalgleish.com · 25/12/2024
Merry Christmas! 🎄
2300
Mark Dalgleish @markdalgleish.com · 26/11/2024
React Router v7 is now an option in create-vite when spinning up a @react.dev + @vite.dev app: github.com/vitejs/vite/... Thanks @alem.forge42.dev and @patak.dev 🙏
github.com
feat(create-vite): change Remix to React Router v7 by AlemTuzlak · Pull Request #18785 · vitejs/vite
Description Changes the remix command to react router v7
1769
Reposted by Mark Dalgleish
Pedro Cattori @pedrocattori.com · 25/11/2024
Every week I get more validation that moving Remix (now React Router) onto @vite.dev was a good idea. This week is no different! bsky.app/profile/rphl...
0434
Reposted by Mark Dalgleish
Vite @vite.dev · 24/11/2024
👀
1463
Mark Dalgleish @markdalgleish.com · 24/11/2024
👀
2200
Mark Dalgleish @markdalgleish.com · 22/11/2024
React Router v7 is here! With framework mode, everything that made Remix great is now built into React Router. remix.run/blog/react-r...
remix.run
React Router v7
React Router v7 brings all the great things you love from Remix back to React Router
1942068
Mark Dalgleish @markdalgleish.com · 19/11/2024
This is becoming a tradition where I always post when @johnresig.com follows me on any social media platform. Always makes my day. He was my original open source hero.
Screenshot: John Resig and 27 others followed you
1712
Mark Dalgleish @markdalgleish.com · 08/11/2024
It makes me very happy to see so many people enjoying this talk 🙏
0440
Mark Dalgleish @markdalgleish.com · 08/11/2024
People aren’t going to remember me for CSS Modules. They’re gonna remember me because of this.
1220316
Mark Dalgleish @markdalgleish.com · 05/11/2024
This post currently has more likes on Bluesky than Twitter. That’s super interesting.
9622
Mark Dalgleish @markdalgleish.com · 05/11/2024
Hey, I can see who liked other people’s posts again. I missed that.
2230
Reposted by Mark Dalgleish
patak @patak.cat · 05/11/2024
Highly recommended talk. Mark is a fantastic story teller, and Remix adoption of @vite.dev and their rebrand to React Router is one of the most impactful tales of this year.
1282
Mark Dalgleish @markdalgleish.com · 05/11/2024
“How React Router Became a Framework,” my talk from React Advanced in London, is now up! Learn about why Remix as it exists today is being merged into React Router, and what it means for the future of the project. www.youtube.com/watch?v=BKi4...
youtube.com
Mark Dalgleish – How React Router Became a Framework, React Advanced 2024
YouTube video by React Conferences by GitNation
526426
Mark Dalgleish @markdalgleish.com · 03/11/2024
Oof, I feel like I always get caught out that pnpm happily runs Node CLI scripts without the hashbang at the top but npm throws an error. If I haven’t set it up correctly: pnpm create … ✅ works npm create … ❌ fails
1100
Mark Dalgleish @markdalgleish.com · 03/11/2024
Like almost all social media platforms in their early days, the vibes are great right now because everyone’s posting about the things they love. It always goes south when everyone starts posting about the things they hate. How about this time we all agree to keep it this way?
914014
Mark Dalgleish @markdalgleish.com · 01/11/2024
Hello again 👋
261360
Mark Dalgleish @markdalgleish.com · 05/07/2023
Interesting. Notable drop in Twitter followers and a notable increase in Bluesky followers.
1120
Mark Dalgleish @markdalgleish.com · 07/06/2023
1131
Mark Dalgleish @markdalgleish.com · 06/06/2023
Positional args with primitive types make me nervous. e.g. function processCss(path: string) {…} Consumers might get confused and think they need to pass a string of CSS. Typescript won’t complain. That’s why I prefer this: function processCss(args: { path: string }) {…}
070
Mark Dalgleish @markdalgleish.com · 19/05/2023
I’m kinda feeling like all the bell curve memes on tech choices are really just a proxy for this.
Bell curve meme.

Low IQ: Trying to ship stuff
Mid IQ: Trying to ship stuff a large team
High IQ: Trying to ship stuff
0100
Mark Dalgleish @markdalgleish.com · 19/05/2023
That feeling where you’re super passionate about a technical topic but you’re also painfully aware you might be in the middle of the bell curve meme.
170
Mark Dalgleish @markdalgleish.com · 10/05/2023
I’m not gonna lie. When you lay out the current state of ES Modules and what it means for package authors, it kinda makes me wish we’d just stuck with CJS.
6112
Mark Dalgleish @markdalgleish.com · 09/05/2023
I have mixed feelings on Tailwind. - It’s an elegant solution to a bunch of different problems. - It’s an obvious choice due to its popularity. - From a design system perspective, I’d prefer consumers use components, not CSS. - Otherwise, I’d want class usage to be type safe.
580
Mark Dalgleish @markdalgleish.com · 03/05/2023
Is JavaScript becoming PHP? I hope so. We could definitely learn a lot from them.
391
Mark Dalgleish @markdalgleish.com · 02/05/2023
Super excited that all the shiny new CSS features in Remix have been stabilised in v1.16! For those of you with existing projects, you can probably delete a bunch of custom scripts and orchestration code from package.json. Enjoy! 💿🚀 github.com/remix-run/remix/releases…
github.com
Release v1.16.0 · remix-run/remix
Remix is full speed ahead preparing for our upcoming v2 release! 1.16.0 stabilizes a handful of CSS features, contains a major overhaul to the internals of the new remix dev server. and fixes a bun...
0131
Mark Dalgleish @markdalgleish.com · 01/05/2023
Before building dark mode for your component library, build "dark context." Even in light mode, setting a dark background on a container should flip the foreground elements. This forces you to decouple the concept of contrast from the idea that your app has two design modes.
180
Mark Dalgleish @markdalgleish.com · 29/04/2023
Pro tip: If you can redefine words, anything can mean anything.
320