Bug: @Prop <prop_name> on <>is immutable on <stencil_router_component>
rwaskiewicz opened this issue · comments
NOTE
This is a recreation of ionic-team/stencil#2853. I was unable to transfer the original issue due to the repos belonging in different repositories.
Resources:
Before submitting an issue, please consult our docs.
Stencil version: (run npm list @stencil/core
from a terminal/cmd prompt and paste output below):
v2.17.0
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://stencil-worldwide.slack.com
Current behavior:
Stencil throws many warnings:-
- @prop() "history" on is immutable but was modified from within the component
- @prop() "location" on is immutable but was modified from within the component.
- @prop() "routeViewsUpdated" on is immutable but was modified from within the component.
- @prop() "historyType" on is immutable but was modified from within the component.
Expected behavior:
N/A
Steps to reproduce:
The issue is happening on stencil's starter app also.
- Follow the steps mentioned here: https://stenciljs.com/docs/getting-started and create an app.
- Serve the app and open it in a browser.
- You'll the see the above listed warnings.
Related code:
insert any relevant code here
Other information: