Show HN: Schema First React Router
I have been working on this experiment for quite some time and over the holidays I found sometime to polish things. I wanted to see if I can build a fully type-safe router, where everything from route params to search params was fully typed, even links.My mai…
It always starts with a string. const { id } = useParams(). And right there, I'm already annoyed. What is id? It's a string. But my database says it's a number. So now I have to parse it. parseInt(id… [+7755 chars]