Advertisement · 728 × 90

Posts by Mark Dalgleish

Preview
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

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...

5 months ago 24 1 0 0
Preview
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.

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...

5 months ago 42 6 3 0
Vite: The Documentary
Vite: The Documentary YouTube video by CultRepo

"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 "

5 months ago 71 30 4 2
Preview
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 ...

RR + unstable RSC support has shipped. Please give it a go and let me know about any pain points.

remix.run/blog/react-r...

8 months ago 79 13 6 1

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!🙏

10 months ago 27 4 1 1

RSC support in React Router powered by Parcel! 🤩

10 months ago 93 12 2 1
Preview
React Router RSC Preview React Router's preview support for React Server Components is now available

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...

10 months ago 98 22 6 7
Advertisement

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

11 months ago 8 2 1 0
Preview
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

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-...

11 months ago 73 11 0 1

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 💍

11 months ago 5 1 0 0
Preview
“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...

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-...

11 months ago 57 9 0 2

So excited for this @vite.dev documentary. I really enjoyed watching the @react.dev one.

1 year ago 25 0 0 0
Preview
Split Route Modules React Router v7.2’s framework mode now supports automatic code splitting of route modules

🚀 Just published a blog post about the new Split Route Modules feature I shipped in React Router v7.

remix.run/blog/split-r...

1 year ago 61 9 1 0

Oh good point, we should bump that.

1 year ago 2 0 0 0

$ pnpm create react-router

1 year ago 23 1 1 0

Yep, this was done to support what Vercel were doing with Remix (originally a custom fork).

1 year ago 4 0 1 0

You can split your server into multiple builds, each with a subset of the full route tree.

1 year ago 2 0 1 0
Advertisement

You guys aren’t going to believe this, but today I used a cable from my big box of old cables.

1 year ago 4704 163 371 66
Post image

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 😎

1 year ago 177 12 10 3

> someone says something funny on the group call
> unmute
> laugh
> mute

1 year ago 80 5 3 1

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.

1 year ago 2 0 0 0
Post image Post image

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.

1 year ago 34 0 1 0

Private LLM salesman incoming.

1 year ago 3 0 0 0

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.

1 year ago 1 0 1 0

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.

1 year ago 1 0 1 0

Having DeepSeek on my laptop gives me a similar feeling to seeing physical encyclopedias on the shelf at home when I was a kid.

1 year ago 20 0 2 0

Those X links really don’t look so great over here. I wish we could all just be friends.

1 year ago 3 0 2 0
Advertisement

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...

1 year ago 22 0 1 0

lol it’s okay.

1 year ago 1 0 0 0

Everything.

1 year ago 1 0 1 0