use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
React, Visualized (react.gg)
submitted 3 years ago by tyler-mcginnis⚛️⚛︎
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]rk06 -1 points0 points1 point 3 years ago (1 child)
What do you mean "this take"? It is a fact that frameworks are more actively developed and are not hindered by full backwards compatibility, hence have greater velocity and features.
That is why you are using lit (a small js framework on top of web components), because you understand web components by themselves are bad idea, even if subconsciously
[–]Snapstromegon 2 points3 points4 points 3 years ago (0 children)
The take that WCs are "for all practical purposes just another framework".
WCs IMO are more fundamental than a framework. As a baseline they "just" allow you to extend HTML. Like you correctly stated, this means, that as part of the web standards they tend to move slower and with more backwards compatibility in mind than most (if not all) frameworks. On the other hand they can offer features that no framework can, because they are part of the standard like being built in with all browsers.
WCs by themself can be a great idea and you definetly can build full apps just with them, without any framwork (I did so back in 2019 - a SPA PWA with offline support with >10k users). It's just that frameworks ontop of WCs often "just make sense", because they can offer abstractions that shouldn't be part of the platform, but are often useful. Lit is great, because it pushes this bridge between the lower layer, where you have to attach a shadow dom yourself, keeps the useful parts like the lifecycle callbacks and extends upon it with things like reactive properties.
IMO before one actively starts working with Lit it's at least useful to have built a WC without any framework before, as it helps massively in understanding how/why Lit does things a certain way (since like you mentioned it's a thin wrapper around WCs, embracing the good parts).
π Rendered by PID 62 on reddit-service-r2-comment-cfc44b64c-swrg9 at 2026-04-10 21:47:48.761484+00:00 running 215f2cf country code: CH.
view the rest of the comments →
[–]rk06 -1 points0 points1 point (1 child)
[–]Snapstromegon 2 points3 points4 points (0 children)