vanilla-teuxdeux
mvc_for_the_web
vanilla-teuxdeux | mvc_for_the_web | |
---|---|---|
5 | 1 | |
25 | 26 | |
- | - | |
0.0 | 0.0 | |
over 3 years ago | about 3 years ago | |
JavaScript | HTML | |
GNU General Public License v3.0 or later | 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.
vanilla-teuxdeux
-
Show HN: 7GUIs in Vanilla HTML, CSS, JavaScript
A few years back I stumbled into something a bit more complex, still done in pure js, just for the hell of it: https://github.com/morris/vanilla-todo
And then wrote my own version, with code a lot closer to modern react, with undo/redo and other niceties - https://github.com/ivank/vanilla-teuxdeux
And what I leaned is that is astonishingly easy to write code that would be understandable to people coming from the redux crowd. Maybe that’s because redux is just such a simple concept in and off itself - a glorified switch on a big object. And it’s also quite easy to hack a simple version of vdom to make it all work.
What’s missing from all those vanilla js efforts though turned out to be testability. There is a ton of code in the modern js world just to allow you to mock/test your components, and thats for me the real tragedy of vanilla js.
I have no idea why W3C crowd have not invested into standardizing js tests in all these years…
-
React's UI State Model vs. Vanilla JavaScript
Kinda like restarting windows to fix it, rather than figuring out whats wrong.
And you could get quite far that way. 37signal’s basecamp was like that - an html app with vanilla js sprinkled throughout. Worked great.
But there is a limit in complexity. JS and html are great for building websites, but if you want to build an actual application, you need to be really clever and accept a lot of limitations. React just lifts the ceiling of what you can do, without being all to complicated.
And you can use the technics of react without react itself too, once you understand what it is all about - https://github.com/ivank/vanilla-teuxdeux
-
Astro: Ship Less JavaScript
Recently I went on a deep dive to test for myself if it’s even possible to write a modern looking web application with no build tools or dependencies, and turns out its very doable - https://github.com/ivank/vanilla-teuxdeux
Web tech has gone a long way and gives us a ton of stuff for free, without the need to reimplement it all in JS. Though the apis themselves are often rather awkward.
Sadly, the biggest missing piece in all of it though is testing.
-
Show HN: Skruv – No-dependency, no-build, small JavaScript framework
Hah last year I did my case study of building an app with only web tech - no dependencies, build steps etc. - https://github.com/ivank/vanilla-teuxdeux
Figured out virtual dom is the one big missing piece to make webdev workable without any dependencies at all.
I can see other people are getting to similar conclusions:)
- Vanilla TeuxDeux – a case study for building an SPA with vanilla JavaScript
mvc_for_the_web
What are some alternatives?
petite-vue - 6kb subset of Vue optimized for progressive enhancement
reagent - A minimalistic ClojureScript interface to React.js
vanilla-todo - A case study on viable techniques for vanilla web development.
htmx - </> htmx - high power tools for HTML
7guis-React-TypeScript-MobX - Implementation of 7GUIs with React, TypeScript and MobX
SlickGrid - A lightning fast JavaScript grid/spreadsheet
7guis-html-css-js
non-grid-path-finder - A path finding algorithm for non-grid-based environments.
hyperscript - Create HyperText with JavaScript.