spruce
CalDOM
spruce | CalDOM | |
---|---|---|
3 | 3 | |
913 | 188 | |
- | - | |
2.2 | 2.7 | |
about 2 years ago | almost 3 years ago | |
JavaScript | JavaScript | |
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.
spruce
-
What I Learned While Using Django With HTMX and Alpine.JS
Alpine also has a third-party state-management layer called Spruce that provides a way for components to communicate with each other, and acts as a single source of truth for your app's data. It is like React Redux or Vuex.
-
Cross-component Communication Patterns in AlpineJs
Finally, another cross-communication pattern between AlpineJs components is by using a global state. For AlpineJs, there is spruce, an excellent global state management library from Ryan Chandler.
-
Introducing AlpineJs. The Ideal jQuery Replacement
the spruce library as a global state for simplifying the inter-component communication
CalDOM
-
An agnostic, reactive and minimalist (3kb) JavaScript UI library
Introducing CalDOM, an agnostic, reactive & minimalist (3kb) JavaScript UI library with direct access to native DOM.
Instead of pulling you into a library-specific magical world, CalDOM let you fully access the DOM directly while keeping the reactivity. A 2-in-1 virtual-DOM & no-virtual-DOM approach if you will.
So you could take full advantage of native APIs & mix it with other libraries to gain superior performance & flexibility in the development process.
CalDOM does not require any dependency or tooling. It does not introduce any new syntax. Just pure JS.
This is the first time I’m publishing something like this. This was a simple jQuery alternative I made myself years ago & kept on improving it slowly. Worked really hard during the last few months to add reactivity and get it to this level.
Please check it out & let me know what you think, the good, bad & your suggestions to improve it.
Also, it's great if you could contribute to the project: https://github.com/dumijay/CalDom
-
Introducing CalDOM: An agnostic, reactive & minimalist 3kb UI library
Also, need your help to make it more awesome :) https://github.com/dumijay/CalDom
-
An agnostic, reactive & minimalist (3kb) UI library with direct access to native DOM
It's great if you could contribute to the project. It's open-source (MIT licenced) & available on GitHub.
What are some alternatives?
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
jsdom - A JavaScript implementation of various web standards, for use with Node.js
htmx - </> htmx - high power tools for HTML
cash - An absurdly small jQuery alternative for modern browsers.
Alpine
pFreak - pFreak is a unit-level 2-in-1 JavaScript benchmarking and testing framework.
jQuery - jQuery JavaScript Library
hyperHTML - A Fast & Light Virtual DOM Alternative
alpine-magic-helpers - A collection of magic properties and helper functions for use with Alpine.js
ZzFX - A Tiny JavaScript Sound FX System
htm - Hyperscript Tagged Markup: JSX alternative using standard tagged templates, with compiler support.
s2 - A data-binding function for the DOM.