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

Add app-bridge-react and polaris to optimizeDeps #956

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

Conversation

byrichardpowell
Copy link
Contributor

WHY are these changes introduced?

In development its possible (but an edge case) that navigating from one page without these dependencies to another page with the dependencies would cause a full page refresh, which then redirects to the logicn page. By adding this config, we should avoid that edge case

WHAT is this pull request doing?

Adds 2 dependencies to optimize dependencies.

Test this PR

shopify app init --template=https://github.com/Shopify/shopify-app-template-remix#optimize-deps

Checklist

  • I have made changes to the README.md file and other related documentation, if applicable
  • I have added an entry to CHANGELOG.md
  • I'm aware I need to create a new release when this PR is merged

In development its possible (but an edge case) that navigating from one page without these dependencies to another page with the dependencies would cause a full page refresh, which then redirects to the logicn page.  By adding this config, we should avoid that edge case
@byrichardpowell byrichardpowell requested a review from a team as a code owner February 3, 2025 21:15
@byrichardpowell byrichardpowell requested review from lizkenyon and removed request for a team February 3, 2025 21:15
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