uhtml
rfcs
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.
uhtml
-
Svelte frontend vs HTMX and hyperscript
I have to say that I am an extremist minimalist, so I use a nano-framework I developed for the frontend, with uhtml (https://github.com/WebReflection/uhtml) and some JavaScript libraries to help.
-
Xeito - A framework for building web applications
One of the main decisions I had to make early on was template handling, there are many approaches out there and of course, with React being the king, I first tried implementing a VirtualDOM complete with JSX support and whatnot... well that didn't really worked for what I was trying to achieve, so I moved into Tagged Template Literals (through µhtml) and tried to stick to standards as much as possible by building on top of the Custom Elements API.
- Anyone have multiple language syntax highlighting with treesitter working?
-
New Web Component Framework!
FAST rendering thanks to µhtml
-
Ardi: Welcome to the Weightless Web
Challenge: With declarative rendering, oftentimes entire DOM trees are re-painted because of simple prop or state changes that could have been handled faster by imperative DOM manipulation. I wanted a framework that, like Lit, only updated content or attributes that had changed instead of re-painting entire DOM elements and trees. Solution: I chose µhtml for the default templating system because it accomplishes this goal and other advanced templating features in a tiny bundle size. To make rendering even faster and smoother, I throttled uhtml's rendering using requestAnimationFrame.
-
Ask HN: What happened to vanilla HTML/CSS/JS development?
> There are lighter-weight shadow dom frameworks out there (than Vue/React/Angular) so why would you want to write one yourself?
You can even avoid a shadow DOM entirely:
https://github.com/WebReflection/domdiff
https://github.com/WebReflection/uhtml
-
I don't miss React: a story about using the platform
My next goal would be to discard snabbdom (and virtualdom) and use custom elements. For that I'm evaluating a library like https://github.com/WebReflection/uhtml and all it's ecosystem of utility
-
It's been 5 years since I've done Frontend work, getting back in the game
Yep ditched React since 2015, it's still the same mess today. They all not trying to encourage interoperability, and comes with their own build .. seriously? Frontend should be just libs! Use https://github.com/WebReflection/uhtml or lit-html where things should be highly dynamic.
-
Can I just jump into React if I already know the fundamentals of JS/HTML/CSS?
If it's for getting into job market, go for React. If it's for learning declarative ui, build cool stuff real quick without tooling, go with lit-html or bravely go with https://github.com/WebReflection/uhtml (it's more simple than anything else, yet powerful)
-
Hooks Considered Harmful
A tiny dom lib like https://github.com/WebReflection/uhtml is more than enough for very complicated UI, with understanding how events work, will be able to implement very thin state management on top. With game programming styled manual render() call here and there as needed, pretty neat.
rfcs
-
Svelte 5: Runes
```
We started experimenting with this ling of thought almost 3 years ago:
- First take (ref sugar), Nov 2020: https://github.com/vuejs/rfcs/pull/228
- Take 2, Aug 2021: https://github.com/vuejs/rfcs/pull/368
- Take 3, Nov 2021: https://github.com/vuejs/rfcs/discussions/369
We provided it as an experimental feature and had a decent number of users trying it out in production. The feedback wasn't great and eventually decided to drop it. https://github.com/vuejs/rfcs/discussions/369#discussioncomm...
- A quick look at the new defineModel in Vue 3.3
-
Vue.js Reactivity System: Ref, reactive, shallowRef, & shallowReactive
This is a personal preference, but I use ref almost all the time. Despite tediously writing the .value to access the ref’s value, the Vue team is aware of the problem, and the open RFC - Reactivity Transform, was aiming to solve this issue, however, seems like it was abandoned.
-
This New Vue 3.3 defineModel Macro Will Change The Way You Write Your Co...
To stay updated, follow the RFC at https://github.com/vuejs/rfcs/discussions/503.
-
The Rear-Vue Mirror: My Open-Source Origin Story
This was a good change. Evan has always been extremely good at putting his finger on the pulse of the frontend community. If there's a feature or paradigm that people love that would fit in Vue, Evan will incorporate it. Over the years, Vue has implemented (and sometimes later deprecated) dependency injection, JSX support, custom elements, Angular-style class components, Svelte-style ref sugar, and now Solid-inspired compiler optimizations. They even changed the order of a Vue file to match that of Svelte: first the script, then the template.
- Generic Vue components expected to land in v3.3 (finally!)
-
VUE3 goes back to callbacks instead of events?
Now the $on has been removed, but the event subject is causing some confusion, see: https://github.com/vuejs/rfcs/discussions/397
-
10 Mistakes to Avoid When Starting with Vue 3
The RFC has shown that this feature is very controversial, with lots of implications. Personally, I liked it at first, but now I'm against it.
-
Vue 2 end of life December 2023
Here is the Current language: https://github.com/vuejs/rfcs/blob/function-apis/active-rfcs/0000-function-api.md
-
Should we migrate from Vue2 to Vue3 for the current projects we have or just wait till the community gets stabilized?
Plus, even that there is a real possibility that the controversial Reactivity Transform RFC leads to a Vue 4 version, it is likely to bring just minor breaking changes from Vue 3.
What are some alternatives?
lit - Lit is a simple library for building fast, lightweight web components.
volar - ⚡ Explore high-performance tooling for Vue [Moved to: https://github.com/vuejs/language-tools]
solid - A declarative, efficient, and flexible JavaScript library for building user interfaces.
unplugin-auto-import - Auto import APIs on-demand for Vite, Webpack and Rollup
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
pinia - 🍍 Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support
developer.chrome.com - The frontend, backend, and content source code for developer.chrome.com
pinia-shared-state - 🍍 Sync your Pinia state across browser tabs.
prehistoric-simulation - Simulator in browser
react-18 - Workgroup for React 18 release.
inferno - :fire: An extremely fast, React-like JavaScript library for building modern user interfaces
unplugin-vue-components - 📲 On-demand components auto importing for Vue