remix-run / react-router

Declarative routing for React
https://reactrouter.com
MIT License
53.28k stars 10.33k forks source link

[Docs]: Wrong Config API link for react-router.config.ts #12374

Closed nikolailehbrink closed 3 days ago

nikolailehbrink commented 3 days ago

Describe what's incorrect/missing in the documentation

In https://reactrouter.com/explanation/special-files#react-routerconfigts the link to the config API is redirecting to a 404.

nikolailehbrink commented 3 days ago

Hi @timdorr, thanks for taking a look at the issue so quickly! However, I’m not sure I understand how linking to the routing configuration is helpful when I’m looking for the API documentation for react-router.config.ts. Is there currently no dedicated page for the Config API?

timdorr commented 3 days ago

Knowing the API isn't helpful if you don't understand the concepts behind it. Just producing the right objects (or using the right helpers) doesn't help with someone using that file.