any-tdf / stdf

Mobile web component library based on Svelte and Tailwind
https://stdf.design
MIT License
598 stars 32 forks source link

Can this be used with Svelte Native ? #8

Closed shiftlabs1 closed 1 year ago

shiftlabs1 commented 1 year ago

Can this be used with svelte native ? or are there Dom specific libs that will cause compatibility issues

yuedanlabs commented 1 year ago

Yes

🔔 Early Warning STDF also applies to other projects in the Svelte ecosystem, such as SvelteKit, Svelte Native, etc. Please make sure you understand their basic principles.

You can find this warning on the bottom of home page https://stdf.design.

dufu1991 commented 1 year ago

After careful study, the UI interface of Svelte Native is handed over to the Native platform for rendering, which may make STDF components not applicable. However, if you are using a WebView alone for loading, then using STDF should not be a problem. However, this approach is not significantly different from using the entire web ecosystem, except that it may have advantages in terms of size and performance in smaller HTML files. I will also update the website to remove this description and avoid any confusion.