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

fix(v2): remove invalid regex route path for public forms #3046

Merged
merged 2 commits into from
Nov 15, 2021

Conversation

karrui
Copy link
Contributor

@karrui karrui commented Nov 15, 2021

Problem

It was impossible to reach the public form page previously as react-router-dom@6 removed regex path matching, will need to validate inside the route itself

See: https://reactrouter.com/docs/en/v6/upgrading/v5#note-on-route-path-patterns

Solution

Bug Fixes:

  • fix: remove invalid regex route path for public forms

react router 6 removed regex path matching, will need to validate inside the route itself
if not the query will be disabled and nothing will load
@karrui karrui merged commit 7ed8179 into form-v2/develop Nov 15, 2021
@karrui karrui deleted the form-v2/fix/public-form-route-react-router-6 branch November 15, 2021 07:16
@justynoh justynoh mentioned this pull request Oct 5, 2022
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

Successfully merging this pull request may close these issues.

1 participant