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

HashRouter hashType option. Compatibility with v4/v5 #11310

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

Whaileee
Copy link

During migration from v4/v5 to v6 I've found that hashType is not implemented in newer version. This is an issue since there is a whole instruction on migration. I cannot change the type of encoding in project that this is applicable to.
I've raised an issue quite some time ago, but misspelled the prop name, hence the issue was closed.
Looking forward to resolve any of my errors and I'd love to see this merged/released asap.
Thanks in advance

Issue
v5 related docs

@remix-cla-bot
Copy link
Contributor

remix-cla-bot bot commented Feb 27, 2024

Hi @Whaileee,

Welcome, and thank you for contributing to React Router!

Before we consider your pull request, we ask that you sign our Contributor License Agreement (CLA). We require this only once.

You may review the CLA and sign it by adding your name to contributors.yml.

Once the CLA is signed, the CLA Signed label will be added to the pull request.

If you have already signed the CLA and received this response in error, or if you have any questions, please contact us at hello@remix.run.

Thanks!

- The Remix team

Copy link

changeset-bot bot commented Feb 27, 2024

🦋 Changeset detected

Latest commit: f93310c

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

@remix-cla-bot
Copy link
Contributor

remix-cla-bot bot commented Feb 27, 2024

Thank you for signing the Contributor License Agreement. Let's get this merged! 🥳

@Whaileee
Copy link
Author

Whaileee commented Mar 7, 2024

Check for bundle size already fixed. I'm still having some issues with this failing test. This test seems to pass for node >= 18. Not sure why v16 is not working. Also I noticed that when 2 of 3 of these test functions are present it passes, no matter which. Also for some reason, the order seems to matter. I would really appreciate any suggestion.

@Whaileee
Copy link
Author

seems like --runInBand solves this problem, but I don't think that's the preferred solution

@Whaileee Whaileee marked this pull request as draft March 15, 2024 09:35
@Whaileee Whaileee marked this pull request as ready for review March 18, 2024 10:21
@Whaileee
Copy link
Author

The change is done imo, can I ask for a review and workflow approval?

@Whaileee
Copy link
Author

Is it good to merge?

@Whaileee
Copy link
Author

Whaileee commented May 9, 2024

Can I ask for workflow approval?

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.

None yet

1 participant