Closed aliemir closed 4 months ago
Latest commit: 7beb11de0f98aed5e5779e624ab459e494522cf2
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Name | Link |
---|---|
Latest commit | 7beb11de0f98aed5e5779e624ab459e494522cf2 |
Latest deploy log | https://app.netlify.com/sites/refine-video-club/deploys/664b0482af92290008dfb6df |
Deploy Preview | https://deploy-preview-5967--refine-video-club.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Name | Link |
---|---|
Latest commit | 7beb11de0f98aed5e5779e624ab459e494522cf2 |
Latest deploy log | https://app.netlify.com/sites/finefoods-example-refine-dev/deploys/664b0482acb88c000835616c |
Deploy Preview | https://deploy-preview-5967--finefoods-example-refine-dev.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
PR Checklist
Please check if your PR fulfills the following requirements:
Bugs / Features
Changes
In the live preview code we're replacing imports with provided scopes of packages.
Example:
will be replaced with:
In some cases, imports may be made with subpaths/scopess of a package;
Example:
In this case we've been replacing it with the same structure:
This replacement was using the default import name (in this case
Button
) but it was flawed because the default import name don't have to match the actual export name.Example:
In this case, a broken replacement is made:
This caused
Button$1
to beundefined
and break the preview.In this PR, we've made a small change in this logic to use scope name and have a name change in the destructuring process.
Example:
will be replaced with