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

Handle components defined in a local scope #488

Merged
merged 1 commit into from
Dec 29, 2024

Conversation

remcohaszing
Copy link
Member

Initial checklist

  • I read the support docs
  • I read the contributing guide
  • I agree to follow the code of conduct
  • I searched issues and discussions and couldn’t find anything or linked relevant results below
  • I made sure the docs are up to date
  • I included tests (or that’s not needed)

Description of changes

This handles components used in a local scope the same as components defined in the global scope. This means local components used in JSX no longer yield errors in the editor. However, autocompletions are not yet supported.

Closes #467

This handles components used in a local scope the same as components
defined in the global scope. This means local components used in JSX no
longer yield errors in the editor. However, autocompletions are not yet
supported.

Closes #467
@remcohaszing remcohaszing added 🐛 type/bug This is a problem 🗄 area/interface This affects the public interface 👶 semver/patch This is a backwards-compatible fix 🙆 yes/confirmed This is confirmed and ready to be worked on 👍 phase/yes Post is accepted and can be worked on labels Dec 26, 2024
Copy link

changeset-bot bot commented Dec 26, 2024

🦋 Changeset detected

Latest commit: b2b21ec

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@mdx-js/language-service Patch
@mdx-js/language-server Patch
@mdx-js/typescript-plugin Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

This comment has been minimized.

@remcohaszing remcohaszing merged commit 4aca67f into main Dec 29, 2024
14 checks passed
@remcohaszing remcohaszing deleted the handle-local-components branch December 29, 2024 15:36

This comment has been minimized.

@github-actions github-actions bot mentioned this pull request Dec 29, 2024
@wooorm wooorm added the 💪 phase/solved Post is done label Jan 1, 2025
@github-actions github-actions bot removed 👍 phase/yes Post is accepted and can be worked on 🙆 yes/confirmed This is confirmed and ready to be worked on labels Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🗄 area/interface This affects the public interface 💪 phase/solved Post is done 👶 semver/patch This is a backwards-compatible fix 🐛 type/bug This is a problem
Development

Successfully merging this pull request may close these issues.

[typescript-plugin] Doesn't understand component map
2 participants