framework7io / framework7

Full featured HTML framework for building iOS & Android apps
http://framework7.io
MIT License
17.97k stars 3.24k forks source link

Problem with Console Warning ``___ was created with unknown prop ___`` #4238

Closed KiddoV closed 6 months ago

KiddoV commented 6 months ago

Describe the bug

I just started using Framework7 with Svelte and encounter a lot of warning in console about: ___ was created with unknown prop ___

This doesn't effect the app, but it is kinda messy in the console.

Is there anyway to get rid of these warning?

Screenshots

mess

nolimits4web commented 6 months ago

You can define those props on every page component if it bothers you

KiddoV commented 6 months ago

Oh well, now it bother me in a different way - (VSCode warning)

bother

If I switch to export const ____. The warnings would come up again.

KiddoV commented 6 months ago

I think this issue need to be fixed, just like this was fixed in svelte-routing.

https://github.com/EmilTholin/svelte-routing/issues/122