Better HN
topnewbestaskshowjobs
Log inSign up

eeJah9to

5 karma · joined Jul 17, 2020 (6y ago) · 4 submissions

Submissions

comment 6y ago · link · parent

You can, using the template element: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/te...

I tried that for webcomponents, but I found more to my taste to actually have everything in my javascript file rather than to jump between files (it's not that messy if you keep your components smalls).

comment 6y ago · link · parent

I've rewrote the frontend of one of my personal apps from react to webcomponents lately. For me, the most interesting aspect was that it's part of standards, requiring no dependency, so it means that I can use this app for decades without having to maintain it.

For the same reason, only the first example in this page would do for me (the one based on standard without using any library). But I suppose that for actually publishing something, such library would be needed, if anything for polyfills for older browsers (but then again, we don't expect published work to stand for decades without changes, so maybe the call for standardized technology is not as strong there).

comment 6y ago · link · parent

Good to know, thanks for mentioning it.

I guess they're quite used to breaking changes in twitter's API, then :) (presuming that a private API must change quite often)

comment 6y ago · link · parent

> Eventually, the new API will fully replace the v1.1 standard, premium, and enterprise APIs.

Uh oh. Using nitter's [1] RSS feeds is one of my main ways to access news. I have the feeling this is about to end.

[1] https://nitter.net/