Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shouldn't React Router 7 Provide Better Support for JavaScript Users? #7

Open
wanGiB opened this issue Nov 24, 2024 · 0 comments
Open

Comments

@wanGiB
Copy link

wanGiB commented Nov 24, 2024

Why do both the documentation and templates for React Router 7 seem to enforce the use of TypeScript?

Considering that React Router 7 appears to be inspired by legacy SPAs, many of which are built with plain JavaScript, this approach seems inconsistent. A significant number of legacy React SPAs still use JavaScript rather than TypeScript.

Shouldn't the React Router CLI and documentation offer clear options for choosing between JavaScript and Typescript, rather than defaulting to or heavily emphasizing only TypeScript?

@wanGiB wanGiB changed the title Should React Router 7 Provide Better Support for JavaScript Users? Shouldn't React Router 7 Provide Better Support for JavaScript Users? Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant