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

Svelte 3? #6

Open
notpushkin opened this issue Oct 21, 2019 · 1 comment
Open

Svelte 3? #6

notpushkin opened this issue Oct 21, 2019 · 1 comment

Comments

@notpushkin
Copy link

:)

@fjorgemota
Copy link
Owner

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 TypeScript support sveltejs/svelte#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.

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

2 participants