Skip to content

fix(ui): add webpack alias for navigation link #9113

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

Merged
merged 4 commits into from
Aug 12, 2024
Merged

Conversation

luvkapur
Copy link
Member

This PR adds webpack alias for @teambit/base-react.navigation.link to ensure there is only once instance of it at runtime.
Before this fix, all react router routes were being transformed to a tags which resulted in hard reload of the UI app when trying to navigate to a link.

@luvkapur luvkapur enabled auto-merge (squash) August 12, 2024 15:14
@luvkapur luvkapur requested a review from GiladShoham August 12, 2024 15:14
@luvkapur luvkapur merged commit bc3aa63 into master Aug 12, 2024
11 checks passed
@luvkapur luvkapur deleted the navigation-link-alias branch August 12, 2024 16:23
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.

2 participants