Pedro Cattori

Pedro Cattori

@pedrocattori.com

principal engineer @cloudflare.social steering team @reactrouter.com formerly @shopify / @remix.run

1.2K followers115 following36 posts

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

Pedro Cattori reposted

πŸ“½οΈ 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! πŸš€

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

John Resig@johnresig.com

I switched a Remix-using side project over to React Router v7 this past weekend and the new route-level type safety is pretty great! reactrouter.com/explanation/... been looking forward to this for a long time, code is a lot less clunky now being able to remove useParams/useLoaderData/etc.

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

React Router Hono Server becomes a @vite_js plugin and is now compatible with React Router v7 (@remix_run) πŸ₯³ It hasn't been easier to link @honojs and React Router: npm install react-router-hono-server@latest Then add reactRouterHonoServer() to your Vite plugins That's all!

πŸ’― 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...

Josh Ghoulberg πŸ‘»@joshuakgoldberg.com

πŸ’‘Dev tooling is a lot friendlier to work with when "fail the build" is not the same as "fail CI". Linting, testing, type checking, etc. - none of these things should stop your ability to build & test locally in most setups. But blocking merging a PR is a different story.

Pedro Cattori reposted

This is still a prototype, but in the first release of react-router-devtools (coming with react-router v7) you will be able to see your Remix.run calls to everything on a brand new network tab! πŸ”₯ Execution times, orders, real-time info, data returned, everything! 🀩

You are up to date.