Hi.
I tried both Remix and React Router, and I found that there are several differences between them.
For example, Remix’s useLoaderData can take a loader function type, whereas React Router’s one cannot.
It seems React Router has poor support for type checking.
Now I have 2 questions.
- Is it planned to update React Router’s type definition for better type checking?
- Is it possible to use
@remix-run/reactin React Router applications for better TypeScript support?