hyperscript
stampino-element
hyperscript | stampino-element | |
---|---|---|
24 | 1 | |
2,589 | 30 | |
0.0% | - | |
0.0 | 6.2 | |
almost 3 years ago | about 1 month ago | |
HTML | TypeScript | |
MIT 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.
hyperscript
-
Ludic: New framework for Python with seamless Htmx support
* https://github.com/hyperhype/hyperscript
There is also a working integration with Django that enables the use of neat-html as a template backend, however it isn't up on GitHub yet.
I find the space of HTML generation libraries which can leverage the power of Python, really interesting.
-
Intro to Hyperscript: Rethinking JavaScript
Does anyone else get this confused with https://github.com/hyperhype/hyperscript ?
-
DOM to JSON and back
This works like Reactʼs createElement function. Or a library such as hyperscript. Sure, weʼd prefer JSX for its much reduced cognitive load. But our alternative here is the DOM methods such as createElement. Unless we want to load up a bulky library such as React, that is.
-
Experimenting with html in object form. How cursed is this?
Consider looking at hyperscript, which is a plain-javascript library for constructing html nodes (NOT a transpiler). Similar to what you have here, but way nicer
-
What is the state of the art for creating domain-specific languages (DSLs) with Rust?
In fairness, there's a lot of overlap between embedded DSLs and libraries — a library like Hyperscript for generating HTML in JavaScript is in many ways a DSL, but it's also just a bunch of functions that are easy to put together in a particular way. But this is often good enough!
-
Ask HN: What happened to vanilla HTML/CSS/JS development?
Hyperscript (https://github.com/hyperhype/hyperscript) is actually quite nice when you get used to it, and I actually prefer it over JSX. Pair it with something like microh[0], and it gets even better.
[0] https://github.com/fuzetsu/microh
-
_hyperscript – a small scripting language for the web
The naming of this project clashes horribly with https://github.com/hyperhype/hyperscript. It's not like it's in a different ecosystem or something. It is a web project that is guaranteed to cause confusion.
-
My thoughts on Mithril.js
With Mithril.js, you generate HTML using a hyperscript dialect like this:
-
Show HN: A simple Wordle clone in 60 lines, using Hyperscript
I'm confused. Hyperscript is supposed to be an alternative way to writing JSX.
Hyperscript.org doesn't seem to be related to this at all?
https://github.com/hyperhype/hyperscript
-
Hyperscript - the hidden language of React
The reason is dead simple. It's exported as h because it's a hypescript function. So what exactly is hypescript?
stampino-element
-
Show HN: Skruv – No-dependency, no-build, small JavaScript framework
As someone who helped lead the Polymer team in the transition from HTML-first Polymer to JavaScript-first lit-html/LitElement, I have some experience building approaches.
I think that JavaScript-first is far better for templating the more general case (or the lower level foundation) because JavaScript is where your data lives. It's generally much easier to bring markup into JavaScript than it is data and data manipulation into HTML.
In HTML you need re-invent expressions, scopes, control-flow, references, and imports. You're going to spend more time and code implementing a less expressive, slower, and more proprietary system.
In JavaScript you just need a way to describe fragments of the resulting DOM (whether you prefer JSX, function calls, or tagged template literals), and the rest is just JavaScript.
Now, I do see benefit from the HTML-first approach for a lot of people and some use cases. One reason I also push on web components so hard is that with interop comes flexibility in allowing a mix-and-match of approaches. As a side-project I'm working on an HTML-first declarative component system layered on top of LitElement: https://github.com/justinfagnani/stampino-element
What are some alternatives?
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
es-module-shims - Shims for new ES modules features on top of the basic modules support in browsers
gomponents - View components in pure Go, that render to HTML 5.
Water.css - A drop-in collection of CSS styles to make simple websites just a little nicer
Alpine
vanilla-teuxdeux - A case study to implement modern js app with vanilla web technologies
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
mercury - A truly modular frontend framework
reagent - A minimalistic ClojureScript interface to React.js
window.fetch polyfill - A window.fetch JavaScript polyfill.
htmx - </> htmx - high power tools for HTML
_hyperscript - a small scripting language for the web