svelte-material-components icon indicating copy to clipboard operation
svelte-material-components copied to clipboard

Svelte 3?

Open notpushkin opened this issue 6 years ago • 1 comments

:)

notpushkin avatar Oct 21 '19 22:10 notpushkin

Hey.

I throught about adding support to Svelte 3 but...I decided to not to because of three reasons:

  1. I created this project to use on another personal project, which isn't using Svelte anymore (because of the point below);
  2. Svelte STILL doesn't support Typescript with type-checking (see https://github.com/sveltejs/svelte/issues/1639), which means working around with material-components-web is..hard, because of the complex library interface and architecture;
  3. The best (and easier) way to use material-components-web in a library like this is to use foundation/adapter architecture, which this project doesn't use, and would need a whole rewrite;

I may plan to add Svelte 3 support in the future, but I would like to at least have the possibility to use Typescript so the whole thing is easier to maintain. As this isn't the case, and as I'm already very busy working on another personal project (mentioned in the point 1), I'll await until this support arrives to implement support to Svelte 3 on this project.

Meanwhile, you can took a look on another, simpler projects, like https://github.com/svelte-toolbox/svelte-toolbox, which intends to bring material design to Svelte components, too.

Finally, I'm also accepting PRs to fix this..if you're interested to help.

fjorgemota avatar Oct 22 '19 00:10 fjorgemota