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

Add WebComponent connector #141

Closed
Kikobeats opened this issue Mar 15, 2019 · 1 comment
Closed

Add WebComponent connector #141

Kikobeats opened this issue Mar 15, 2019 · 1 comment

Comments

@Kikobeats
Copy link
Member

Kikobeats commented Mar 15, 2019

After some conversations could be interesting create a Web Component version of the current (and the main) React connector.

Why

  • The implementation will be very similar to the current react connector since web component and react API are very similar ([vanilla] affordable interface as web component #140).
  • It can replace the current vanilla version and the build size will be smaller since the current vanilla version is based on the react version and it needs to include react and reac-dom as part of the bundle ([vanilla] reduce bundle size #137).
  • One of the big Web Components caveats is browser support. Although nowadays it's not too good, eventually it could be better in the future and polyfills will serve on demand based on user agent using polyfill.io.

(non exhaustive list, feel free the comment)

Since I never wrote a Web Component before, I don't know if I need to consider any more caveats.

@Kikobeats
Copy link
Member Author

Nice to have but it isn't a thing is going to happen in the short term

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

1 participant