soci-frontend VS Stimulus

Compare soci-frontend vs Stimulus and see what are their differences.

soci-frontend

[Moved to: https://github.com/jjcm/nonio-frontend] (by jjcm)

Stimulus

A modest JavaScript framework for the HTML you already have (by hotwired)
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
soci-frontend Stimulus
4 111
19 12,466
- 0.2%
0.0 6.4
9 months ago about 6 hours 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.

soci-frontend

Posts with mentions or reviews of soci-frontend. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-10.
  • Using SVG to create simple sparkline charts
    7 projects | news.ycombinator.com | 10 Jul 2023
    I ended up hand crafting my svg graphs for non.io for many of the same reasons. I originally was looking around at 3rd party libraries, but one of my goals with the site was to use as few external libraries as possible. I made an attempt at dynamically generating the svg points myself, and found it incredibly easy.

    For context, here's the 22 lines of code it took to create a simple svg graph: https://github.com/jjcm/soci-frontend/blob/master/components...

    And here's the final output: https://non.io/Animation-example

  • We Use Web Components at GitHub
    11 projects | news.ycombinator.com | 4 May 2021
    CSS variables help somewhat with this. Variable values penetrate the shadowroot, so you can effectively build an "api" for styles your component. I've done that a few times, and it's been enough for me to get by in most cases. An example is here: https://github.com/jjcm/soci-frontend/blob/master/components...
  • Add a Dark Theme to a Ruby on Rails App
    1 project | news.ycombinator.com | 15 Mar 2021
    This is excellent for a small app, but if you have any production sized app or a larger team, it's not a great approach. Using colors directly in a theme override mean you have to then design and write the css for every page twice.

    A better approach for doing dark mode is to use semantic tokens as a middleman. This works great not just for dark mode, but theming in general - allowing for high contrast mode, color blind modes, and others, while reducing the amount of effort required to style a new page (rather than growing multiplicatively with direct overrides).

    If you're curious about this, I have a very basic schema I made for my app that you're welcome to steal here: https://github.com/jjcm/soci-frontend/blob/master/docs/token...

    Here's an example implementation of the above schema: https://github.com/jjcm/soci-frontend/blob/master/soci-token...

    The great thing is once it's implemented, it becomes VERY easy to know what token to use where. Got a button that's a primary action in a hover state? You probably want to use --brand-background-hover for the bg. Means you can do a lot of the design directly in code I find.

Stimulus

Posts with mentions or reviews of Stimulus. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-27.

What are some alternatives?

When comparing soci-frontend and Stimulus you can also consider the following projects:

services-as-dom-elements

turbo-rails - Use Turbo in your Ruby on Rails app

view_component - A framework for building reusable, testable & encapsulated view components in Ruby on Rails.

htmx - </> htmx - high power tools for HTML

community-protocols - Cross-component coordination protocols

hotwire-rails - Use Hotwire in your Ruby on Rails app

web3-sign-msg - web3-sign-msg is a modern web component built with ficusjs to sign messages with your eth private key in Metamask

django-unicorn - The magical reactive component framework for Django ✨

ficusjs - FicusJS is a set of lightweight functions for developing applications using web components

Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.

open-wc - Open Web Components: guides, tools and libraries for developing web components.

inertia - Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.