Tommertom / svelte-ionic-app

Ionic UI showcase app - try Ionic UI and directly go to API or source code (Svelte, Angular, Vue, Vanilla and React)
https://ionic-svelte.firebaseapp.com
MIT License
755 stars 61 forks source link

DISCUSSION - Rebuilding ionic-svelte #93

Open Tommertom opened 6 months ago

Tommertom commented 6 months ago

Hey there,

Looking to rebuild ionic-svelte - I want to get rid of some of the blocking bugs with overlays, remove code that duplicates @ionic/core and make it easier to follow Svelte(Kit) and Ionic release updates.

I want to capture a few design principles for rebuilding ionic-svelte and looking to get feedback from the community:

Happy to hear your thoughts on these and other design principles and the consequences for the implemention of for instance:

Some issues I am not sure yet how to solve

Things I plan to remove/or do not return

Ongoing rebuild with demo app posted on github - https://github.com/Tommertom/ionicsvelterebuild Demo app posted on https://test-cf8eb.web.app/

keev-studio commented 6 months ago

Hi, sorry to say that but after recreating your Demo app I have strange behavior of the tabs, they just randomly appear and disappear. See the video

https://github.com/Tommertom/svelte-ionic-app/assets/24513480/663b4ac6-ccf4-4f48-9c40-113d649beef8

briznad commented 6 months ago

Hi, sorry to say that but after recreating your Demo app I have strange behavior of the tabs, they just randomly appear and disappear. See the video

1705867773-videorecord-2024-1-21-21-9-33.1.mp4

@keev-studio could you share a link to your repo where you're experiencing this issue, and I can take a look?

Tommertom commented 6 months ago

@keev-studio - can you please continue this issue under https://github.com/Tommertom/svelte-ionic-app/issues/86 or a new one, so we have this issue focus on the possible rebuild of ionic-svelte?

AlexRMU commented 4 months ago

Perhaps it makes sense to use svelte 5 right away, so as not to migrate later?

Tommertom commented 4 months ago

Perhaps it makes sense to use svelte 5 right away, so as not to migrate later?

Yes-once stable & released

ptmkenny commented 4 days ago

I'm new to Svelte and this project (currently evaluating migrating a React app to Svelte), and I'm curious about this point:

  • if we export functions we prefer JSDOC over Typescript

Why prefer JSDOC to Typescript? Ionic itself uses TypeScript, not JSDOC.

Tommertom commented 4 days ago

Hi

Library authors for svelte might prefer jsdoc as there are many svelte devs who dont use typescript

If the package would be in ts then I would exclude them

Because most editors give intellisense using jsdoc, the experience wont be different to both ts and non ts developers

So unless you are building a package/library for the broader range developers this does not matter and if you like ts, please continue doing so

Fireship has a video on this I believe

Ps ionic source in Stencil is indeed with typescript but the bundle itself isnt. Typings are provided separately