ionic-team / stencil

A toolchain for building scalable, enterprise-ready component systems on top of TypeScript and Web Component standards. Stencil components can be distributed natively to React, Angular, Vue, and traditional web developers from a single, framework-agnostic codebase.
https://stenciljs.com
Other
12.61k stars 791 forks source link

bug: multiple stencil components side by side dont update props if 'Disable cache' is OFF #5872

Closed mad-raccoon closed 4 months ago

mad-raccoon commented 5 months ago

Prerequisites

Stencil Version

4.17.1

Current Behavior

As you see on the attached video, when the 'Disabled cache' is OFF, the stencil components don't update their props.

On the other hand, if the 'Disabled cache' is OFF, the stencil components props are set properly.

https://github.com/ionic-team/stencil/assets/57071299/06388fdc-b066-41e8-a600-20596c9849a4

On my stencil.config.ts file i made sure i disabled the Cache - but it still doesnt work.

export const config: Config = { enableCache: false, namespace: "test-wrapper", srcDir: "component", outputTargets: [ { type: "dist", }, ], };

Any ideas on what is missing? Thanks

Expected Behavior

Being the 'Disable cache' ON or OFF, the behavior should be the same.

System Info

No response

Steps to Reproduce

Add the same stencil component side by side.

Note that the props are not being updated as supposed.

Code Reproduction URL

please check the video 🙏

Additional Information

No response

ionitron-bot[bot] commented 5 months ago

Thanks for the issue! This issue has been labeled as needs reproduction. This label is added to issues that need a code reproduction.

Please reproduce this issue in an Stencil starter component library and provide a way for us to access it (GitHub repo, StackBlitz, etc). Without a reliable code reproduction, it is unlikely we will be able to resolve the issue, leading to it being closed.

If you have already provided a code snippet and are seeing this message, it is likely that the code snippet was not enough for our team to reproduce the issue.

For a guide on how to create a good reproduction, see our Contributing Guide.

ionitron-bot[bot] commented 4 months ago

Thanks for the issue! This issue is being closed due to inactivity. If this is still an issue with the latest version of Stencil, please create a new issue and ensure the template is fully filled out.

Thank you for using Stencil!