remix-run / react-router-website Goto Github PK
View Code? Open in Web Editor NEWThe React Router website
Home Page: https://reactrouter.com
License: MIT License
The React Router website
Home Page: https://reactrouter.com
License: MIT License
http://www.reactrouter.com
and https://www.reactrouter.com
currently show a 500 error.
Should redirect to https://reactrouter.com
instead.
Example: https://reactrouter.com//google.com/
Expectation: 404
Actual: 302 redirects to google.com
This is bad because a malicious actor can send links that look like official reactrouter.com pages but the end users get silently redirected to a possible malicious site owned by the sender
I haven't dug too much into this yet but also see that it affects the main remix.run site too - https://remix.run//google.com/
docs
should not crash
Happens not only to me.
Description:
I'd like to propose a feature for the official React Router documentation website. While going through the various examples in the documentation, I noticed that there isn't a straightforward way to copy the code samples.
Feature Description:
It would be extremely helpful if a 'Copy' button could be added to each of the code blocks within the documentation. This button would allow users to instantly copy the code samples to their clipboard, reducing the chance of copying errors and saving time.
Benefits:
I believe this would be a valuable addition to the React Router documentation, and I'd be happy to discuss it further if needed.
We have an example for this: https://github.com/remix-run/react-router/tree/dev/examples/auth
Originally posted by @timdorr in remix-run/react-router#10206 (comment)
Sorry, not shure is there a bug or stackblitz fault, but
$ vite
failed to load config from /home/projects/mkligxplv.github/vite.config.ts
error when starting dev server:
Error: The package "@esbuild/linux-x64" could not be found, and is needed by esbuild.
on https://stackblitz.com/github/remix-run/react-router/tree/main/examples/auth?file=src%2FApp.tsx
Adding search to reactrouter.com would significantly reduce time spent looking for the correct function / component
It's complaining about the node:child_process, "Error: Cannot find module 'node:child_process'".
Let's render the changelog file
Depends on #90
6.4.3
const location = useLocation()
useLocation()
and a pop-up will appear:Redirecting to the useLocation()
docs page
Redirecting to 404 page
Edit: All the hooks docs url are wrong. The problem here is that i'm using an old react router version (6.4.3) instead of the main one (6.5.0)
The right sidebar functionality on the React Router documentation website is not working properly.
I noticed some misbehavior in the functionality when changing themes in React Router Docs.
The theme is changing back or back and forth between dark/light when you:
This is checked on both Chrome (Version 118.0.5993.117 ) and Firefox (Version 118.0.5993.117 )
See remix.run for details
Expected behavior: clicking on links in the right nav of the documentation site should scroll to the anchor on the first click.
Actual behavior: first link clicked in the right nav always works, but all subsequent clicks on different links do not scroll to the anchor, unless you click on them a second time in a row without clicking any other links.
Details:
Seems like the edit button in the footer is adding 1 too many "/docs"
Remix uses DocSearch by Algolia. Might be easiest just to copy this
Will also want to check the styles and make them similar (docs.css)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.