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
Oh good point, we should bump that.
020
Mark Dalgleish @markdalgleish.com · 04/03/2025
$ pnpm create react-router
1231
Mark Dalgleish @markdalgleish.com · 07/02/2025
Yep, this was done to support what Vercel were doing with Remix (originally a custom fork).
140
Mark Dalgleish @markdalgleish.com · 07/02/2025
You can split your server into multiple builds, each with a subset of the full route tree.
120
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
In library mode it’s up to you to manage loading route modules lazily, and you can choose to author your routes in multiple files. Framework mode is just doing this work for you.
020
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 · 30/01/2025
Private LLM salesman incoming.
030
Mark Dalgleish @markdalgleish.com · 30/01/2025
The chat interface is why it’s often better than Google to me. I can easily ask follow up questions, ask for clarification, dive deeper into certain areas, provide personal context for more tailored advice.
110
Mark Dalgleish @markdalgleish.com · 30/01/2025
For me it’s replaced a lot of “How to…” Google searches. Also good for personal advice, e.g. assisting with fitness and diet changes, helping me prepare for things I’m not familiar with, that sort of thing. Also just good for deep philosophical chats when I’m in the mood for that.
110
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
Those X links really don’t look so great over here. I wish we could all just be friends.
230
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
lol it’s okay.
010
Mark Dalgleish @markdalgleish.com · 23/01/2025
Everything.
110
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 · 08/01/2025
I think the way to strike the balance is to treat consumers like adults. If some implementation details are likely to change, then tell them.
050
Mark Dalgleish @markdalgleish.com · 08/01/2025
Consumers relying on implementation details is part of why I liked to keep them hidden. I don’t think it’s worth the trade off though. Knowing implementation details gives you more confidence to build on top, lets you better understand what’s possible, and gives you more context when debugging.
120
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 · 03/12/2024
en.m.wikipedia.org/wiki/Socrati...
en.m.wikipedia.org
Socratic questioning - Wikipedia
040
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
Mark Dalgleish @markdalgleish.com · 25/11/2024
It’s still there, just renamed: api.reactrouter.com/v7/functions...
api.reactrouter.com
cloudflareDevProxy | React Router API Reference
Documentation for React Router API Reference
110
Reposted by Mark Dalgleish
Vite @vite.dev · 24/11/2024
👀
1463
Mark Dalgleish @markdalgleish.com · 24/11/2024
👀
2200
Mark Dalgleish @markdalgleish.com · 23/11/2024
What was going to be Remix v3 is now React Router v7.
1110
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 · 20/11/2024
Sorry, I missed that!
120
Mark Dalgleish @markdalgleish.com · 20/11/2024
Congrats!
120
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
I don’t care either, I’m not a Twitter / X hater, but I am enjoying it here right now.
040
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
+1
010