tasky
A Stimulus Reflex example (by Sanchezdav)
view_component
A framework for building reusable, testable & encapsulated view components in Ruby on Rails. (by ViewComponent)
tasky | view_component | |
---|---|---|
2 | 76 | |
1 | 3,176 | |
- | 0.9% | |
0.0 | 8.9 | |
over 3 years ago | 4 days ago | |
Ruby | Ruby | |
- | 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.
tasky
Posts with mentions or reviews of tasky.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-03-23.
-
Components on Rails?
For this code example I'll use the project created in the past post, so if you want to follow this implementation, just clone it from here 👌.
-
Reactivity Rails with Stimulus Reflex
This is the repository of Tasky, the example application of this post.
view_component
Posts with mentions or reviews of view_component.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-06-16.
- Do React ao Hotwire - Parte II - [PT-BR]
-
From React to Hotwire - Part II - [EN]
To try to solve this, the first solution that emerged was ViewComponents, a framework created by the folks at Github. ViewComponent is our React, allowing the frontend to be thought of as components. It is the most popular solution today. Although I have never used it, I feel it lacked boldness. It seems like a fusion of partials with erb. But what disappointed me the most was that Github is migrating from Rails to React, and the maintainers of ViewComponents don't seem very enthusiastic.
- Things I wish I knew before moving 50K lines of code to React Server Components
-
Supercharged table component built with ViewComponent
When searching for examples of table components built with the ViewComponent gem, I was surprised to find none. After some inquiries, I came across examples that worked like this:
-
More expressive APIs for View Components
View components offer two primary ways to interact with the component: passing arguments to the initializer and using slots:
- Have you been using ViewComponent. What advantages do you see in it?
-
How can I integrate VueJS into a rails 7 application? What is the workflow?
For example, splitting out views into partials? Or the new ViewComponent feature that's becoming quite popular - https://viewcomponent.org/
- Helpers vs Components
-
Vanilla Rails view components with partials | Stanko K.R.
I used to do "pure ruby" approach to that -- but basically wound up realizing I was re-inventing github's view_component. Their design goals were similar enough to what I was trying to do, that it made more sense just to use that, rather than try to re-invent it myself.
-
Gnarly Learnings from March 2023
ViewComponent
What are some alternatives?
When comparing tasky and view_component you can also consider the following projects:
Stimulus - A modest JavaScript framework for the HTML you already have
turbo-rails - Use Turbo in your Ruby on Rails app
Tailwind CSS - A utility-first CSS framework for rapid UI development.
cypress-rails - Helps you write Cypress tests of your Rails app
hotwire-rails - Use Hotwire in your Ruby on Rails app
i18n-tasks - Manage translation and localization with static analysis, for Ruby i18n
Ruby on Rails - Ruby on Rails
Rack::Attack - Rack middleware for blocking & throttling
turbo - The speed of a single-page web application without having to write any JavaScript
phlex - A framework for building object-oriented views in Ruby.
Avo - Build Ruby on Rails apps 10x faster
Roda - Routing Tree Web Toolkit
view_component vs Stimulus
view_component vs turbo-rails
view_component vs Tailwind CSS
view_component vs cypress-rails
view_component vs hotwire-rails
view_component vs i18n-tasks
view_component vs Ruby on Rails
view_component vs Rack::Attack
view_component vs turbo
view_component vs phlex
view_component vs Avo
view_component vs Roda