Closed dwirz closed 11 months ago
Name | Link |
---|---|
Latest commit | 0b754b579df1a8e44a68667e1b3bf64ea0ddeebc |
Latest deploy log | https://app.netlify.com/sites/wesc-eleventy/deploys/6523c6f39955430008658716 |
The latest updates on your projects. Learn more about Vercel for Git āļø
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
wesc-astro | ā Ready (Inspect) | Visit Preview | š¬ Add feedback | Oct 9, 2023 9:26am |
wesc-nextjs | ā Ready (Inspect) | Visit Preview | š¬ Add feedback | Oct 9, 2023 9:26am |
wesc-sveltekit | ā Ready (Inspect) | Visit Preview | š¬ Add feedback | Oct 9, 2023 9:26am |
Name | Link |
---|---|
Latest commit | 0b754b579df1a8e44a68667e1b3bf64ea0ddeebc |
Latest deploy log | https://app.netlify.com/sites/wesc-node/deploys/6523c6f4341e560008ccd5d2 |
Name | Link |
---|---|
Latest commit | 0b754b579df1a8e44a68667e1b3bf64ea0ddeebc |
Latest deploy log | https://app.netlify.com/sites/wesc-remixrun/deploys/6523c6f45cc1ab00087a66de |
thank you! I will try to review this week
Hello @luwes
it was easier for me to copy your code and adapt it to our needs in our monorepo. Since we are developing our Web Components with Stencil.js and there are two changes (#4914 and #4916) in their code that we need, I created a minimal reproduction repository.
My version of your code is here ./packages/web-components-react-wrapper/lib
. The main changes are the ones I described in this PR and PR #4, see .../lib/client/render.ts#L27
. Additionally, I added a renderCustomElements
that renders all of our custom elements that are inside the React Wrapped Web component.
If you have any questions/ideas/feedback, let me know š .
IMO you can close this PR and the other one if you don't need my changes.
Thanks a lot for your work
All good! I'm glad the project is useful to you.
This PR LGTM! Will merge it in.
Hi there @luwes, first of all very nice project it helped us a lot with SSR our web components within a Next.js app directory project. š
What I encountered is if we have web components which use the
<slot>
-element within another web components<slot>
-element the reactrenderChildren
function gets somehow stucked in an infinite loop. I was able to fix it by moving the recursive call ofrenderChildren
after theappendChild
call.Since our code is on our customers private repository i can't provide you with some reproduction code.
Dummy codewise it looks something like this: