optimism
The missing drop-in solution for realtime remote form validation in Rails. (by leastbad)
cubism
Lightweight Resource-Based Presence Solution with CableReady (by julianrubisch)
optimism | cubism | |
---|---|---|
1 | 2 | |
361 | 57 | |
- | - | |
0.0 | 3.7 | |
over 1 year ago | about 1 month ago | |
Ruby | Ruby | |
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.
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.
optimism
Posts with mentions or reviews of optimism.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-11.
-
Hotwire vs React/Vue/Alpine/Whatsoever
I see it the following way: - Wrap a form into a Turbo Frame. - Attach a Stimulus controller to the form. - Listen for change events and perform a form submission (requestSubmit()) whenever an input value changed. - Use a specific parameter to distinguish real submissions from preview ones (e.g., by toggling a hidden input field value in the form): in the controller, do not call #save if it's a preview request; only render a form in response with validation errors. - The most challenging part: since the HTML contents of the form would be replaced, we need restore the cursor position and any new input data. I think, using morphdom solves this issue; that's how (I believe) Stimulus Reflex and optimism library in particular work.
cubism
Posts with mentions or reviews of cubism.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-07.
-
Is there an equivalent to Yjs or Elixir's Phoenix Presence in Rails?
You may find this gem helpful. https://github.com/julianrubisch/cubism
-
Toggling view layouts with Kredis, Turbo Frames, and Rails
One of the more exciting aspects of Kredis is the tools that can be built on top of it — we can build our own simple functionality like the preference storage we created today, but other smart folks are building gems on top of Kredis to enable functionality like presence tracking for application resources or complex, multi-stage forms.
What are some alternatives?
When comparing optimism and cubism you can also consider the following projects:
stimulus_reflex - Build reactive applications with the Rails tooling you already know and love.
hotwire-rails - Use Hotwire in your Ruby on Rails app
chatwoot - Open-source live-chat, email support, omni-channel desk. An alternative to Intercom, Zendesk, Salesforce Service Cloud etc. 🔥💬
kredis - Higher-level data structures built on Redis
Ruby on Rails - Ruby on Rails