If I hadn't gotten Silksong earlier this year, this would have been crushing. Though still sad to see Metroid sink to such lows.
If I hadn't gotten Silksong earlier this year, this would have been crushing. Though still sad to see Metroid sink to such lows.
I just added a small section about React hooks to the post. Thanks for the idea @mastrojs.bsky.social
Yes, good point. Simple refactors like moving a hook into a conditional break things.
Is Remix 3 "just JavaScript"? Yes.
But doesn't it use TS and JSX? Also yes.
π Wrote a new post about what I think "just JavaScript" should mean. Or at least what it means to me.
pedrocattori.com/posts/just-j...
Vite: The Documentary premieres October 9th at @viteconf.org in Amsterdam β‘
youtu.be/46fe5AFc0tY
npmtrends showing react-router going from ~11M downloads/week in 1/2025 to ~16M downloads/week in 5/2025
React Router going from 11M to 16M since the start of the year. Crazy that there's so much room for growth still!
Bringing all that Remix goodness to so many users feels so good
*ofc these are just trends, so don't read too much into the absolute numbers
My new favorite thing to say to LLMs:
> What is the steelman argument against this approach?
When Remix adopted Vite, there were 2 notable drawbacks:
1. Dev vs. prod differences with bundling
2. Dev only supported Node as first-class runtime
@rolldown.rs will solve (1), and now @vite.dev 's Env API has solved (2)!
blog.cloudflare.com/introducing-...
π½οΈ From a radical rethink to the new standard in speed and simplicity, @vite.dev v has become the go-to tool for modern web development. Discover its story and the impact shaping the future of the webβ¨β¨
The @vite.dev Documentary is coming soon!
Stay tuned for the release date! π
s = second? no
s = season? yes
π babel-dead-code-elimination v1.0.7 released!
Incredible growth so far with @tanstack.com as an early adopter and now React Router v7 uses it under the hood π
Or as @markdalgleish.com would say: They architecture astronauted
Tired: They over-abstracted and overcomplicated their solution
Wired: They cooked too close to the sun
Templates and docs have been updated to include `verbatimModuleSyntax`
reactrouter.com/how-to/route...
`verbatimModuleSyntax` automatically enables `isolatedModules`, so you don't need to explicitly set that anymore
www.typescriptlang.org/tsconfig/#is...
If you got on React Router v7 early, make sure you try out verbatimModuleSyntax in your tsconfig!
It'll automatically add `type` modifier when auto-importing generated types like `Route` and its what we recommend now
Comments like this make it all worth it!
Already have improvements and simplifications to the type-safety lined up for upcoming v7.x releases πͺ
bsky.app/profile/john...
Yea pretty sure that would also work, but adding an explicit 404 fallback route seems more idiomatic to me
Sure you can add a route whose path is just `*?` and that will be the fallback route
If its missing, the router would route you to that page since `routes.ts` says "only route `products/:id` stuff to `product.tsx`.
You'd need a separate route for `products` if you wanted to handle missing `:id`
If you wanted optional `id` param, it'd be encoded as `products/:id?` (with the `?`) in `routes.ts` OR with `products.($id)` if using flat routes
Quick demo of the new type safety in React Router v7!
Vastly improved over what we had in Remix v2
www.youtube.com/watch?v=u9r9...
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...
π― This is exactly why I designed React Router's `typegen` command to be used in tandem with `tsc` and didn't just hardcode typegen into `react-router build`
bsky.app/profile/josh...
React Router v7 is finally here!
Lots of good stuff, but I'm most excited to show off the new type safety features.
Just got a greenscreen π© so I don't have any excuses not to make some demo videos!
remix.run/blog/react-r...
π― plus interop with eslint was a big issue too
For anyone interested, I wrote up a decision doc about this!
github.com/remix-run/re...
Incremental migration paths are hard, but lint rules are harder
Just landed the first set of parent-route-aware types for React Router v7 . More to come (`useMatches`, `<Link to />` etc..), but the ease of adding this feature is great validation of our typegen approach.
github.com/remix-run/re...