lit
Vue.js
| lit | Vue.js | |
|---|---|---|
| 189 | 386 | |
| 20,928 | 209,543 | |
| 1.5% | 0.0% | |
| 8.6 | 6.0 | |
| 6 days ago | about 1 year ago | |
| TypeScript | TypeScript | |
| BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lit
- π» I built an infinite 90s boombox with Gemini + Lyria (and it has an AI DJ!)
Framework: Lit (Web Components) + Vite
- When to emit events for stateful components
This decision is a bit tricky to explain, so Iβll show some code (in Lit because thatβs what I like and use daily.
- How does one build large front end apps without using a framework like React?
https://developer.mozilla.org/docs/Web/API/Web_components
If that's not enough, Lit enhances it a bit such that either LitElement and/or litHtml can accommodate whichever style you want: https://lit.dev/
- Ask HN: What Are You Working On? (October 2025)
I could talk for days on all the peculiar bugs to resolve. Once the alpha stabilizes I have drafts to publish on several topics.
You actually nailed the major pain points. Particularly window focus and state management. I've spent months solving this problem alone.
- Applications data list: Getting the list is easy! Finding out which apps in that list are "real" apps isn't. Getting icons isn't. Reliably getting information on app state isn't. Finding out why something doesn't work right is as painful as can be. Doing all this in a performant way is a nightmare.
- Applications menu renderer: Rendering the list for the menu is easy enough after the macOS app sends the data over via socket. The frontend is just web sockets and web components under the hood (https://lit.dev). The difficult part was converting app icons to PNG, which is awfully slow. So a cache-warmup stage on startup finds all apps, converts their icons to png, and caches them to the app directory for read.
- Window state: again, by far the worst and it isn't even close. Bugs galore. The biggest issue was overriding macOS core behavior on what a window is, when it's focused, and how to communicate its events reliably to the app. Although I did include a couple private APIs to achieve this, you can get pretty far by overriding Window class types in ways that I don't think were intended (lol). There is definitely trickery required here for it to work correctly.
One bug that still makes me chuckle today.. anything can be a window in macOS. I'm writing this on Firefox now, and if I hover over a tab and a tooltip pops up - that's a window. So a fair amount of time has gone into determining _what_ these apps are doing and why. Then accounting for that to clean up a finalized list of windows that should show up in the taskbar. The "Accessibility Inspector" app comes standard on macOS and was helpful for debugging this, but it was a pain regardless.
- Lit: a library for building fast, lightweight web components
Elements are kept stable as long as the template containing them is rendered.
The template docs try to get this across by saying that Lit "re-render only the parts of template that have changed." Maybe that needs more detail.
There are details here: https://github.com/lit/lit/blob/main/dev-docs/design/how-lit...
- Show HN: Lit-Toaster β Notifications for Lit Web Components
Hereβs a library for creating toast notifications in Lit Web Components.
Feel free to contribute, leave a like, or share your feedback.
If unfamiliar with Lit, here's link to docs: https://lit.dev/
- The time is right for a DOM templating API
The author was a core contributor of Google's Lit project: https://github.com/lit/lit
- A novel approach to reusable web components
Angular has nothing to do with web components. It isn't even a way to write web components.
If anything is the "Google blessed" way of writing web components (Google doesn't really work that way), it's Lit: https://lit.dev/
- library ECV-COMPONENT
It is a set of Web Componentes created using the Lit Element library, aiming to reuse, speed up, and standardize project development for the sector.
- Plain Vanilla Web β Guide for de-frameworking yourself
some people cheat by using web components but with Lit Elements. https://lit.dev/
Vue.js
- SuperUtilsPlus: A Modern Alternative to Lodash
But it does not deal with all the non-JSON objects, e.g. Map or other class instances that are not even JSON-serializable by default.
Best to use TypeScript, and ideally, it should only be needed to do such checks when dealing with foreign data.
When data comes from parsing JSON, the check above should be enough.
When authoring complicated library code that needs reflection, I think it's worth looking at Vue2's hilarous solution:
https://github.com/vuejs/vue/blob/547a64e9b93d24ca5927f653710b5734fa909673/src/util/lang.js#L293 - Migrating a Legacy Project from Vue CLI to Vite
Recently, a ticket was added to our sprint with the goal of reducing packages with critical and high vulnerabilities in a legacy project. The task involved migrating a Vue 2 project using Vue CLI as the build tool to Vite.
- Top 10 GitHub Repositories every Web Developer should know in 2025
Vue.js is a tool for building user interfaces. It's easy to use and works well for both small and big projects. I specifically love the team behind Vue and Nuxt! Highly recommend checking it out and giving it a try. It has 208k stars π. Explore Vue.js here.
- Top 20 Javascript Libraries on Github
Repository: Vue.js
- Awesome List
GitHub Repository - The main Vue.js repository.
- Here are the 10 projects I am contributing to over the next 6 months. Share yours
Vuejs
- Vue 2 Final Release
- π Top Front-End Frameworks in 2024 Worth Your Time and Effort to Master
Vue.js is a big favorite for making websites because it's easy to use and fits in well with other stuff. Many people worldwide are using it, and the community keeps growing.
- Angular vs. React vs. Vue.js: Comparing performance
Vue has a thriving ecosystem with a wide range of third-party libraries and plugins available for extending its functionality. These libraries cover everything from state management to routing, making it easy for developers to find solutions to common problems and enhance their development workflow. As of this writing, Vue has 200k GitHub stars.
- Top 10 "Must Have" Repositories for Web Developers
6. Vue.js
What are some alternatives?
Svelte - web development for the rest of us
React - The library for web and native user interfaces.
Preact - βοΈ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
Angular - Deliver web apps with confidence π
Backbone.js - Give your JS App some Backbone with Models, Views, Collections, and Events