Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(react): migrate to new React Output Target with Next.js support#29715

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
christian-bromann wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromcb/react-output-target

Conversation

christian-bromann
Copy link
Member

@christian-bromannchristian-bromann commentedJul 16, 2024
edited
Loading

What is the current behavior?

We have done a lot of work to update the@stencil/react-output-target package to use theLit wrapper as well asNext.js support. We are at a point where we would like to test the state of the new output target package with ecosystem projects to validate its functionality.

What is the new behavior?

The new output target provides:

  • a bunch of bug fixes due to changes how we wrap Stencil components using the@lit/react wrapper package
  • it exports a runtime now which requires@stencil/react-output-target to be a dependency
  • support for using Ionic within Next.js applications

Does this introduce a breaking change?

  • Yes
  • No

So far I don't see a reason why this could break someones existing code base. That said, more testing is needed to verify this.

Other information

Unfortunately we can't use@stencil/react-output-target yet due to the fact that it requires a more modernmoduleResolution likenode16 orbundler. The current one (node) is meant to be used for for Node.js versions older than v10, which only support CommonJS require. I've create aseparate issue for this.

Update: raised a PR#29717 to enable export maps

sean-perkins reacted with heart emoji
@vercelVercel
Copy link

vercelbot commentedJul 16, 2024

The latest updates on your projects. Learn more aboutVercel for Git ↗︎

NameStatusPreviewCommentsUpdated (UTC)
ionic-framework✅ Ready (Inspect)Visit Preview💬Add feedbackJul 16, 2024 5:43pm

@github-actionsgithub-actionsbot added package: core@ionic/core package package: vue@ionic/vue package package: react@ionic/react package labelsJul 16, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
package: core@ionic/core packagepackage: react@ionic/react packagepackage: vue@ionic/vue package
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@christian-bromann

[8]ページ先頭

©2009-2025 Movatter.jp