-
Notifications
You must be signed in to change notification settings - Fork 117
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
bug: react-output-target not working anymore since upgrade 0.7.1 #477
Comments
Thanks for the issue! This project is currently maintained for the purposes of supporting Ionic Framework. At this time, only new issues & pull requests that support Ionic Framework will be prioritized. For the latest updates regarding the maintenance status of this project, please see this section of the project's README |
Hello @Loic57 can you please clarify what the issue is? The latest version of the output target no longer generates or requires the The component wrappers are generated in the This repository (the example project) or Ionic Framework can be referenced as functional examples using the latest published versions of the react output target. |
Hello @sean-perkins The issue is that I'm not able to have my stencil wrapped components working in react 18.3 since I upgraded react-output-target from 0.5.3 to 0.7.1. I followed the documentation from stencil (your previous link) and this part is not working anymore :
I will try to make a repository. I work in a big company and github is blocked, I can't clone, commit or push. |
Is the library/package not found or is the The resolution of your package should not be impacted by changes to the output target. If you have updated the main entry point (typically an Another area to check is to make sure your |
I have the same issue! |
@Loic57 any updates on the reproduction case? |
I'm having a similar problem. I created a repository following the stencil react integration instructions and the repository does not build. The reproduction repository can be found here: https://github.com/yunker1/stencil-react-integration/tree/main I've seen this issue with another repository as well. Hopefully this helps. |
This issue has been labeled as If you'd like to work on this issue, please comment here letting us know that you would like to submit a pull request for it. This helps us to keep track of the pull request and make sure there isn't duplicated effort. |
The issue has ben resolved for us now, because we switched to using react + vite. In our initial setup based on |
I have same error using react with |
Prerequisites
Stencil Version
4.21
Stencil Framework Output Target
React
Stencil Framework Output Target Version
0.7.1
Current Behavior
Hello,
Until a few days ago I had react-output-target v0.5.3 and everything worked great.
Now I upgraded to 0.7.1 and followed the new documentation here : https://www.npmjs.com/package/@stencil/react-output-target
I noticed that when running npm run build in stencil, the "lib" folder in "react-library" is not the same anymore.
v0.5.3
v0.7.1
Here is my stencil.config.ts
Am I the only one to have this kind of issue ?
Expected Behavior
Be able to get my react wrapped components like in the previous versions.
Steps to Reproduce
I followed these steps: https://stenciljs.com/docs/react
No error message during the process, It's just that I don't have my react component at the end.
Code Reproduction URL
I don't have a reproduction case, 95% of my config is in this ticket,
Additional Information
Thank you for your time
The text was updated successfully, but these errors were encountered: