Mark Dalgleish
@markdalgleish
Followers
72K
Following
46K
Media
3K
Statuses
25K
🇦🇺🐨 / Working on 💿 @ReactRouter + @remix_run at @shopify / co-creator of 🦄 CSS Modules, 🧁 Vanilla Extract / @MelbJS organiser / dad x4
Melbourne, Australia
Joined February 2011
We wrote a blog post that explains the new @ReactRouter RSC architecture a bit more, and how it makes our library APIs almost as powerful as Framework Mode. https://t.co/Rg8eVhtM3r
remix.run
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...
3
13
103
Super excited to land my first big contribution to Remix 3, adding static files middleware, plus the lower level primitives that power it. This was honestly really fun to work on. And I’ve got more cool stuff on the way. https://t.co/53z2TXOmP9
github.com
See docs in PR for details. Note, this also adds the following lower level primitives: file response helper for manually creating Response objects containing files. Range, Content-Range, If-Match,...
2
4
52
I’ve been telling Americans to pronounce Melbourne as “Melbin” if they want to say it more like we do, but I’m realising this isn’t quite right. We say it so fast we lose most of the “our” sound, so it’s more like or “Melburn” or “Melbuhn.”
3
0
10
"You're absolutely right! I got sidetracked with the validation and forgot to actually implement the normalization API." Agents are people too.
1
0
12
It went step by step, slowly adding more complexity, and it checked whether TypeScript was happy at each step. Eventually it broke, but for some reason the agent didn’t notice and I had to Cmd+C and tell it where it broke. But still, that was a super useful flow.
0
0
0
If I’m stuck on a type issue, I’ll repro it in TS Playground, but this can be tough sometimes. I made a new playground file in my project with a working example, told Cursor to keep making it more like the real thing until it breaks. Took a bit of hand-holding, but it worked!
1
0
9
Some people have asked if you still need to follow the rules Hooks in this project. I think a lot of React devs don’t have a good mental model of how Hooks work. This is actually one of the reasons I made this toy project, so it’s easier to look under the hood.
Just for fun, I played around with implementing Hooks on top of Remix 3 components. ⚠️ PLEASE NOTE: THIS IS A JOKE (SORT OF) Source code: https://t.co/KaOUCUrcVg
2
0
29
Just for fun, I played around with implementing Hooks on top of Remix 3 components. ⚠️ PLEASE NOTE: THIS IS A JOKE (SORT OF) Source code: https://t.co/KaOUCUrcVg
16
3
104
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! https://t.co/R0rmK1Lulb
github.com
An example of how to use Remix 3 with Storybook via `@storybook/html-vite` - markdalgleish/remix-storybook-example
3
3
58
I just created the “Remix 3 Resources” repo, collecting useful links related to @remix_run 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. https://t.co/ypJZbKKKXy
github.com
A collection of useful links relating to Remix 3. Contribute to markdalgleish/remix3-resources development by creating an account on GitHub.
7
8
150
> Is the Remix UI repo open source yet? No, but the Remix Jam mixtape that the team made is https://t.co/vSFecPcrn7
open.spotify.com
Playlist · Brooks · 219 items · 13 saves
3
2
39
I spent 77 days this year editing the Vite documentary. This is what the 39min Final Cut timeline looks like. Huge thanks to everyone involved! 🙏 Go watch it on Cult.Repo - link in bio
3
9
96
The @vite_js Documentary is finally in the wild! Watch it at @CultRepo and don’t miss our upcoming documentaries. https://t.co/ENsbFM1tiB
1
2
5
Told you it was cool.
2
0
57