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

feat: allow Link's "to" prop to accept external urls #9900

Merged
merged 10 commits into from
Jan 18, 2023

Conversation

mcansh
Copy link
Collaborator

@mcansh mcansh commented Jan 13, 2023

complimentary work for remix-run/remix#5016

Signed-off-by: Logan McAnsh logan@mcan.sh

Signed-off-by: Logan McAnsh <logan@mcan.sh>
@changeset-bot
Copy link

changeset-bot bot commented Jan 13, 2023

🦋 Changeset detected

Latest commit: 30e9e3e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
react-router Patch
react-router-dom Patch
react-router-dom-v5-compat Patch
react-router-native Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jenseng
Copy link
Contributor

jenseng commented Jan 13, 2023

very cool, though it looks like i'll want to deprecate remix-react-routes/no-urls if/when this lands in remix 😅

Signed-off-by: Logan McAnsh <logan@mcan.sh>
mcansh and others added 3 commits January 17, 2023 16:35
Signed-off-by: Logan McAnsh <logan@mcan.sh>
Signed-off-by: Logan McAnsh <logan@mcan.sh>
Signed-off-by: Logan McAnsh <logan@mcan.sh>
@mcansh mcansh merged commit e9f271d into dev Jan 18, 2023
@mcansh mcansh deleted the logan/accept-external-to branch January 18, 2023 19:24
yan12125 added a commit to yan12125/buildbot that referenced this pull request Aug 5, 2024
Somehow <Link> forces relative links and breaks external URLs
(ex: https://buildbot.buildbot.net/#/about/http://buildbot.net). It
might be fixed with react-router 6.7.1 [1], while I prefer to just use
basic `<a>`.

While I'm at it, I also updated the link to use HTTPS.

[1] remix-run/react-router#9900
yan12125 added a commit to yan12125/buildbot that referenced this pull request Aug 5, 2024
Somehow <Link> forces relative links and breaks external URLs
(ex: https://buildbot.buildbot.net/#/about/http://buildbot.net). It
might be fixed with react-router 6.7.1 [1], while I prefer to just use
basic `<a>`.

While I'm at it, I also updated the link to use HTTPS.

[1] remix-run/react-router#9900
mifo123 pushed a commit to mifo123/buildbot that referenced this pull request Aug 16, 2024
Somehow <Link> forces relative links and breaks external URLs
(ex: https://buildbot.buildbot.net/#/about/http://buildbot.net). It
might be fixed with react-router 6.7.1 [1], while I prefer to just use
basic `<a>`.

While I'm at it, I also updated the link to use HTTPS.

[1] remix-run/react-router#9900
mokibit pushed a commit to mokibit/buildbot that referenced this pull request Aug 25, 2024
Somehow <Link> forces relative links and breaks external URLs
(ex: https://buildbot.buildbot.net/#/about/http://buildbot.net). It
might be fixed with react-router 6.7.1 [1], while I prefer to just use
basic `<a>`.

While I'm at it, I also updated the link to use HTTPS.

[1] remix-run/react-router#9900
mokibit pushed a commit to mokibit/buildbot that referenced this pull request Aug 26, 2024
Somehow <Link> forces relative links and breaks external URLs
(ex: https://buildbot.buildbot.net/#/about/http://buildbot.net). It
might be fixed with react-router 6.7.1 [1], while I prefer to just use
basic `<a>`.

While I'm at it, I also updated the link to use HTTPS.

[1] remix-run/react-router#9900
mokibit pushed a commit to mokibit/buildbot that referenced this pull request Aug 26, 2024
Somehow <Link> forces relative links and breaks external URLs
(ex: https://buildbot.buildbot.net/#/about/http://buildbot.net). It
might be fixed with react-router 6.7.1 [1], while I prefer to just use
basic `<a>`.

While I'm at it, I also updated the link to use HTTPS.

[1] remix-run/react-router#9900
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants