htmf VS solid-docs

Compare htmf vs solid-docs and see what are their differences.

htmf

A minimalist partial html swapping library similar to HTMX and other libraries which create an MPA app and enhances it with a focus on HTML forms. (by jon49)

solid-docs

Cumulative documentation for SolidJS and related packages. (by solidjs)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
htmf solid-docs
4 26
21 188
- 0.5%
7.6 7.6
6 months ago 2 months ago
JavaScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

htmf

Posts with mentions or reviews of htmf. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-12.
  • HTML First – Six principles for building simple, maintainable, web software
    13 projects | news.ycombinator.com | 12 Nov 2023
    I've successfully used this pattern (HTMX hypermedia style) to create an offline-first web app SPA[^1]. One of the pages is pretty dynamic and I wasn't sure if I would need a traditional front end library to work with it. But, nope, hypermedia to the win, it worked fine without a front end framework.

    To build it I used my own library called HTMF[^2]. I started out using mpa-enhancer[^3] but found that that pattern is a little to janky sometimes. I think reloading a page every time on every interaction uses too many resources for a browser especially when you use a phone that doesn't have as much power as a laptop.

    But overall I find the pattern very easy to use and keeps the complexity down.

    I think some of the issues with traditional SPAs is that they have a lot of state and state is nonlinear in complexity. But using templating systems makes the complexity more linear in nature.

    Also, I find libraries like React to be overly complex for what it does, see above. The way React works is just odd and counter intuitive. All for problems that are easy to solve. I do think there are places for a React-like library is needed but those are for websites that are inherently highly state-based. But most websites aren't state-based even ones that appear to be state-based at first.

    The websites I work on are usually just forms and forms are pretty powerful and can get you a long ways before you need to go outside of that paradigm.

    [^1]: https://github.com/jon49/Soccer

    [^2]: https://github.com/jon49/htmf

    [^3]: https://github.com/jon49/mpa-enhancer

  • Things you forgot because of React
    14 projects | news.ycombinator.com | 15 Aug 2023
  • Htmx, WebAssembly, Rust, ServiceWorker Proof of Concept
    12 projects | news.ycombinator.com | 16 Oct 2022
  • Ask HN: Getting tired of complexity in web development
    6 projects | news.ycombinator.com | 8 Oct 2022
    I wrote a js lib similar to HTMX, which I call HTMF[1]. Unlike HTMX I try to stay as close to the metal of the current semantics as possible. So, all interactions are based off of forms. I also tried to keep the wording similar to HTML/JS semantics. It's pretty small lib but pretty amazing how far I can get with it. These days I mainly build offline-first apps with it. But I built it in such a way that it can easily be a progressive enhancement to an MPA app.

    [1]: https://github.com/jon49/htmf

solid-docs

Posts with mentions or reviews of solid-docs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-21.
  • How to optimise React Apps?
    5 projects | dev.to | 21 Apr 2024
    React has introduced measures like batching state updates, background concurrent rendering and memoization to tackle this. My opinion is that the best way to solve the problem is by improving their reactivity model. The app needs to be able to track the code that should be re-run on updating a given state variable and specifically update the UI corresponding to this update. Tools like solid.js and svelte work in this manner. It also eliminates the need for a virtual DOM and diffing.
  • Episode 24/13: Native Signals, Details on Angular/Wiz, Alan Agius on the Angular CLI
    11 projects | dev.to | 5 Apr 2024
    Similarly to Promises/A+, this effort focuses on aligning the JavaScript ecosystem. If this alignment is successful, then a standard could emerge, based on that experience. Several framework authors are collaborating here on a common model which could back their reactivity core. The current draft is based on design input from the authors/maintainers of Angular, Bubble, Ember, FAST, MobX, Preact, Qwik, RxJS, Solid, Starbeam, Svelte, Vue, Wiz, and more…
  • Web frameworks we are most excited for in 2024
    5 projects | dev.to | 13 Feb 2024
    Solid.js is a very performant web framework that shares some similarities with React. For example, both use JSX, utilizing the function-based approach to components, but instead of using Virtual DOM, it converts your code to vanilla JS. Still, it is more famous for its approach to fine-grained reactivity by utilizing signals, memos, and effects. Still, the signal is the simplest and most known primitive of Solid. They contain value along with their getter and setter functions, allowing the framework to observe and update the changes as needed in the exact location in the DOM, unlike React, which re-renders the whole component.
  • Popularity is not Efficiency: Solid.js vs React.js
    3 projects | dev.to | 1 Jan 2024
    Two well-known JavaScript frameworks and libraries used for creating user interfaces are React.js and Solid.js. Solid.js, a lightweight reactive library, prioritizes fine-grained reactivity and efficient rendering through a reactive programming model. However, React.js, which was developed by Facebook, is well known for its declarative architecture based on components and its handling of the virtual DOM (Document Object Model). Different approaches to state management and reactivity set these tools apart, even though they both enable developers to create dynamic and interactive web apps.
  • The best Javascript UI framework to use in 2023
    4 projects | dev.to | 19 Dec 2023
    Solid.js like Svelte is quite new when compared to React, Angular, and Vue however it might be that pocket Hercules we've all been ignoring because we are so addicted to other frameworks. Solid.js is an interesting framework that deserves to be a part of this discussion. Solid.js pioneered the concept of signals when other Javascript frameworks made reactivity and state management a nightmare for developers, a factor that has contributed to the growth of Solid. Solid.js is incredibly easy to adopt and it aims for a simpler syntax and learning curve compared to other frameworks. It emphasizes the use of pure Javascript functions and avoids concepts like hooks.
  • My Journey in Making "Coin Factory": A Web Game
    4 projects | /r/incremental_games | 27 Nov 2023
  • The State of JS 2023 Survey is Now Open
    2 projects | dev.to | 22 Nov 2023
    React Server Components are the poster child for that trend, but other frameworks such as Solid or Qwik rethink client-server interactions from the ground up.
  • Solid.js
    1 project | news.ycombinator.com | 31 Oct 2023
  • HTMX for pages with heavy user interactivity
    2 projects | /r/htmx | 24 Oct 2023
    If you aren't married to the react paradigm, I had a great time with solid.
  • Grimoire - A recipe management application.
    7 projects | /r/rust | 5 Oct 2023
    Frontend : SolidJs.

What are some alternatives?

When comparing htmf and solid-docs you can also consider the following projects:

Soccer - Tracker for players play time

solid-start - SolidStart, the Solid app framework

yew-beyond-hello-world - yew rust tutorial

valtio - 💊 Valtio makes proxy-state simple for React and Vanilla

submillisecond - A lunatic web framework

prima - PRIMA is a package for solving general nonlinear optimization problems without using derivatives. It provides the reference implementation for Powell's derivative-free optimization methods, i.e., COBYLA, UOBYQA, NEWUOA, BOBYQA, and LINCOA. PRIMA means Reference Implementation for Powell's methods with Modernization and Amelioration, P for Powell.

WeightTracker - Back end for saving data for weight tracker.

floem - A native Rust UI library with fine-grained reactivity

MealPlanner - A Meal Planner to figure out what we are going to eat each week. Written with Razor Pages and HTMF. https://meals.jnyman.com/

vrite - Open-source developer content platform

mpa-enhancer - Minimalist JavaScript to make your MPA work that much better

music-for-programming - Stream musicforprogramming.net directly into your terminal