view_component
i18n-tasks
Our great sponsors
view_component | i18n-tasks | |
---|---|---|
74 | 6 | |
3,145 | 2,015 | |
1.2% | - | |
9.0 | 7.5 | |
3 days ago | 21 days ago | |
Ruby | Ruby | |
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.
view_component
- 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
- Os benefĂcios de componentizar as views do Rails
-
Does anyone kind of miss simpler webpages?
The linked one is my Rails implementation, written for ViewComponent. The official version uses Nunjucks.
i18n-tasks
-
Identifying I18n translation keys
Why not i18n-tasks? 1.9k stars on GitHub. It's definitely a worthwhile dependency and probably why you're not seeing much free explanations because the gem is widely used.
-
Managing I18n yml files
The first great step regarding any solution would be https://github.com/glebm/i18n-tasks
-
Rails application boilerplate for fast MVP development
I18n tools - rails-i18n and i18n-tasks
-
What do you run in your pipeline at work?
i18n-tasks health from https://github.com/glebm/i18n-tasks too
-
Do you have a multilingual app?
Manage manually, but use this gem from time to time to check for missing items https://github.com/glebm/i18n-tasks
-
What are y'all doing for modern Rails app internationalization these days?
i18n-tasks gem is very helpful for validating translations.
What are some alternatives?
Stimulus - A modest JavaScript framework for the HTML you already have
Mobility - Pluggable Ruby translation framework
turbo-rails - Use Turbo in your Ruby on Rails app
Globalize - Rails I18n de-facto standard library for ActiveRecord model/data translation.
Tailwind CSS - A utility-first CSS framework for rapid UI development.
i18n - Internationalization (i18n) library for Ruby
cypress-rails - Helps you write Cypress tests of your Rails app
r18n - I18n tool to translate your Ruby application.
hotwire-rails - Use Hotwire in your Ruby on Rails app
FastGettext - Ruby GetText, but 12x faster + 530x less garbage + simple + clean namespace + threadsafe + extendable + multiple backends
Ruby on Rails - Ruby on Rails
Locale - Send and retrieve your ruby i18n localizations to the Locale translation service