Ask HN: Is it possible to write framework agnostic ES6 components?

https://news.ycombinator.com/item?id=15330702
by wheresvic3 • 9 years ago
1 2 9 years ago

We were looking to create a widget library and were wondering if it would be possible to create completely framework agnostic components (i.e. using only ES2015 syntax + html5 + css)

These widgets would be used in React, Angular, Vue applications.

Is creating web components the only answer? Integrating web components into a React/Angular application is not trivial either.

Related Stories

Loading related stories...

Source preview

news.ycombinator.com