komponent
komponent copied to clipboard
An opinionated way of organizing front-end code in Ruby on Rails, based on components
Hey guys I just submitted the PR #116 but I stumbled upon a problem with it: I assumed (wrongly) that a component generated via `rails g component 'hello/world'` would create...
Are there any tips for making components compatible with Zeitwerks name expectations? Related to this issue https://github.com/komposable/komponent/issues/117 The error I'm seeing is like this: ``` ActionView::Template::Error: expected file /Users/allen.hsu/Code/komponent-namespace/frontend/components/users/avatar/users_avatar_component.rb to...
I would like to gather feedback, to figure out what the future of Komponent should look like. We created Komponent in 2018 when we felt that there was no convincing...
This is an evolving draft of the steps needed to migrate your project and components from Komponent to [ViewComponent](https://github.com/github/view_component). Please add your notes and comments below. ## Goals List the...
- Updated README to include help on gem installation for appraisal tests - Created komponent fixture components for path tests - Added filter to remove any path that starts with...
Closes #158 Not sure if this is the right approach or if we can simply use `@component.id` for the call. Let me know if this is okay.
Fixes https://github.com/komposable/komponent/issues/138 Add a `render` macro to the ComponentHelper, which takes a block that is used to render the component instead of using the partial. This is mainly useful for...
This PR does not really alter the behaviour of the gem, but it allows easier implementation for custom behaviour. - The `component` helper optionally accepts a custom renderer class -...
Hi guys :) Hope you're fine ! First, thank you for this very nice gem. I'm currently setting up Komponent 2.2.0 in our Rails app with subdomains and I would...
**Enhancement request:** The stylesheet_engine options are limited to :css, :sass and :scss. It would be nice to update or create a config option with the sole purpose of creating a...