vdom-util
eureka
vdom-util | eureka | |
---|---|---|
2 | 11 | |
2 | 4 | |
- | - | |
5.0 | 1.8 | |
about 1 year ago | over 3 years ago | |
JavaScript | ||
- | GNU General Public License v3.0 only |
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.
vdom-util
-
Modern SPAs without bundlers, CDNs, or Node.js
Joining this thread to say that I, too, have written a very similar function and also use jsxFactory to have JSX support in personal projects. I find that using it along with an extremely simple implementation of a kind of state listener[0] produces something really nice for small projects.
It's a bit like a jquery for the '20s.
[0] https://github.com/curlywurlycraig/vdom-util/blob/master/src...
- I don't miss React: a story about using the platform
eureka
-
How to build a website without frameworks and tons of libraries
Here's an example of building a well-structured, maintainable web-site using JavaScript, HTML and CSS: https://github.com/wisercoder/eureka/tree/master/webapp/Clie...
It doesn't use React (imagine the horror!), instead it uses two tine 500-line libs.
-
React is 10 years old
> a literal 5-20x productivity boost
Not really. See a better way here: https://github.com/wisercoder/eureka
- Building a Front End Framework; Reactivity, Composability with No Dependencies
-
React is a fractal of bad design
I'm not quite seeing React being used, just JSX though? All the view and state updating is being done manually, but it looks fairly well-organised. There are small optimisations like debouncing onInput with a timeout (avoiding rapid re-rendering for every character typed): https://github.com/wisercoder/eureka/blob/master/webapp/Clie...
- Ask HN: Good resource on writing web app with plain JavaScript/HTML/CSS
- Can We All Just Admit React Hooks Were a Bad Idea?
- Ask HN: What happened to vanilla HTML/CSS/JS development?
-
I don't miss React: a story about using the platform
React works well for simple, non-interactive components. Complex, interactive components are going to have state. Stateful components don't work so well in React. If you want to update props in a stateful component, the recommendation is to replace the component entirely by changing its key. At the point all of the benefits of React (preservation of selection, caret position, scroll position etc.) vanish. You might as well use vanilla js instead of React.
What does using Vanilla JS look like? Here's an example: https://github.com/wisercoder/eureka It uses two tiny 500-line libs. It uses TSX files, just like React. It has components, just like React. It doesn't have incremental screen update, but neither does React, if your components are interactive and stateful.
- A Visual Guide to React Rendering
What are some alternatives?
systemjs - Dynamic ES module loader
webcomponents - Web Components specifications
preact-custom-element - Wrap your component up as a custom element
Ink - 🌈 React for interactive command-line apps
yhtml - Tiny html tag function for rendering Web Component templates with event binding
org-mode-site-template - A workflow for a complete site using the HTML publish option of Emacs Org-Mode
el - Minimal JavaScript application framework / WebComponents base class
editable-website - A SvelteKit template for building CMS-free editable websites
uhtml - A micro HTML/SVG render
10kbclub - A curated collection of websites whose home pages do not exceed 10 KB compressed size
react-18 - Workgroup for React 18 release.
mvc-router - Router for JavaScript Single Page Applications that supports MVC pattern