Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix(react): Update types to match react router updates#5915

Closed
philipatkinson wants to merge 2 commits intogetsentry:mastergetsentry/sentry-javascript:masterfrom
philipatkinson:masterphilipatkinson/sentry-javascript:masterCopy head branch name to clipboard
Closed

fix(react): Update types to match react router updates#5915
philipatkinson wants to merge 2 commits intogetsentry:mastergetsentry/sentry-javascript:masterfrom
philipatkinson:masterphilipatkinson/sentry-javascript:masterCopy head branch name to clipboard

Conversation

@philipatkinson
Copy link
Contributor

Fixes a type mismatch caused by change remix-run/react-router#9366 in react-router code.

Before submitting a pull request, please take a look at our
Contributing guidelines and verify:

  • If you've added code that should be tested, please add tests.
  • Ensure your code lints and the test suite passes (yarn lint) & (yarn test).

Fixes a type mismatch caused by change remix-run/react-router#9366 in react-router code.
@AbhiPrasad AbhiPrasad changed the title Update Types to Match React Router Updates fix(react): Update types to match react router updates Oct 7, 2022
@AbhiPrasad
Copy link
Contributor

Hey thanks for writing in! It seems this is causing some test failures with typing issues with createRoutesFromChildren

@philipatkinson
Copy link
Contributor Author

Yes, I think this is because the devDependency in Sentry is set to react-router-dom 6.3 rather than 6.4.X. Had a quick fiddle to see if I could update and test easily, but yarn update was throwing out some strange errors. Will revisit when I have the chance to look in more detail (or we could leave it until the dependency naturally catches up and see if the tests pass then).

@bcentdev
Copy link

Ey! Do you have a forecast for when it will be available? Thanks :)

@AbhiPrasad
Copy link
Contributor

Created #5992 to fix the test failures, will be shipped with the next release!

@AbhiPrasad AbhiPrasad closed this Oct 19, 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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.