Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: @Prop <prop_name> on <>is immutable on <stencil_router_component> #139

Open
rwaskiewicz opened this issue Jun 22, 2022 · 0 comments
Open

Comments

@rwaskiewicz
Copy link
Contributor

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.

  1. Follow the steps mentioned here: https://stenciljs.com/docs/getting-started and create an app.
  2. Serve the app and open it in a browser.
  3. You'll the see the above listed warnings.

Related code:

insert any relevant code here

Other information:

@rwaskiewicz rwaskiewicz changed the title @Prop <prop_name> on <>is immutable on <stencil_router_component> Bug: @Prop <prop_name> on <>is immutable on <stencil_router_component> Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant