stencil icon indicating copy to clipboard operation
stencil copied to clipboard

Props passed via state tunnel throw "immutable but was modified from within the component" warning message

Open dhrumil83 opened this issue 3 years ago • 4 comments

Worked fine till 2.3.0. See this warning when updating from 2.3.0 to 2.5.2 for any prop passed via state tunnel. @Prop() "propName" on < custom-element-name > is immutable but was modified from within the component. More information: https://stenciljs.com/docs/properties#prop-mutability

https://github.com/ionic-team/stencil-state-tunnel ( @stencil/state-tunnel": "1.0.1")

I'm submitting a:

[X] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/

This repo has the steps to reproduce this issue: https://github.com/dhrumil83/state-tunnel-issue

dhrumil83 avatar Apr 16 '21 23:04 dhrumil83

@dhrumil83 Can you please let me know how did you solve this problem ?

samk-ayyagari avatar Aug 09 '21 08:08 samk-ayyagari

It's only warnings in the console and does not seem to affect behavior. But will be good to get rid of the warnings. Still waiting on the fix.

dhrumil83 avatar Aug 09 '21 17:08 dhrumil83

If you could do me a favor, update to the latest Stencil and let me know if this is still the case. We did ship some related fixes recently.

If it's still the case, let me know. Thank you!

splitinfinities avatar Nov 09 '21 04:11 splitinfinities

Updated "@stencil/core": "2.10.0" and still seeing the warnings.

dhrumil83 avatar Nov 09 '21 21:11 dhrumil83

Hey folks 👋

I apologize for the lack of reply here. At this time, Stencil State Tunnel is no longer supported. As such, I'm going to close this his issue out.

Once again, I apologize for the lack of response here.

rwaskiewicz avatar Jun 28 '23 17:06 rwaskiewicz