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.4k stars 775 forks source link

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

Open mad-raccoon opened 3 days ago

mad-raccoon commented 3 days 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