rails-view-components-storybook
Companion repository for the “Building a Component Library in Rails with Storybook” (by phacks)
view_component-storybook
ViewComponent previews and testing in Storybook (by jonspalmer)
rails-view-components-storybook | view_component-storybook | |
---|---|---|
1 | 2 | |
8 | 263 | |
- | - | |
0.0 | 3.1 | |
about 3 years ago | 2 months 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.
rails-view-components-storybook
Posts with mentions or reviews of rails-view-components-storybook.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-04-26.
-
Building a Component Library in Rails With Storybook
For the purpose of this article, we’re going to work off of a fresh Rails project and work our way through installing the required gems, create our first ViewComponent, display it in Storybook, and deploy it alongside our app. The source code for this Rails project is available on GitHub: https://github.com/phacks/rails-view-components-storybook.
view_component-storybook
Posts with mentions or reviews of view_component-storybook.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-04-26.
-
Building a Component Library in Rails With Storybook
The view_component_storybook gem is the bridge between Ruby on Rails land and Storybook. It gives us a Ruby DSL in which we can write stories (Storybook’s main concept: think a specific state of a UI component), that will then be translated in Storybook parlance. It also takes care of gluing together the ViewComponents previews and Storybook’s API.
-
partial 的救贖?view_component 介紹
ViewComponent 用的 storybook 的 gem 已經有人開發了 GitHub - jonspalmer/view_component_storybook: ViewComponent previews and testing in Storybook
What are some alternatives?
When comparing rails-view-components-storybook and view_component-storybook you can also consider the following projects:
Tailwind CSS - A utility-first CSS framework for rapid UI development.
view_component - A framework for building reusable, testable & encapsulated view components in Ruby on Rails.
Stimulus - A modest JavaScript framework for the HTML you already have
turbo - The speed of a single-page web application without having to write any JavaScript
hotwire-rails - Use Hotwire in your Ruby on Rails app
turbo - Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turbopack and Turborepo.
rails-view-components-storybook vs Tailwind CSS
view_component-storybook vs view_component
rails-view-components-storybook vs Stimulus
view_component-storybook vs turbo
rails-view-components-storybook vs hotwire-rails
rails-view-components-storybook vs turbo
rails-view-components-storybook vs turbo
rails-view-components-storybook vs view_component