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

Updating remix-run packages to fix error from using createReactStub #1566

Closed
wants to merge 1 commit into from

Conversation

lukeclifton
Copy link

@lukeclifton lukeclifton commented Dec 13, 2023

WHY are these changes introduced?

When using the skeleton template as it stands and implementing createReactStub (https://remix.run/docs/en/main/utils/create-remix-stub) within unit tests the follow error was being thrown:

Error: useHref() may be used only in the context of a <Router> component

WHAT is this pull request doing?

This PR fixes that error by updating the @remix-run/react package from version 2.1.0 to 2.3.1`

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.

1 participant