Registry / web-framework / actionview-component

actionview-component

JSON →
library1.17.0rbrubygemsunverified

This gem has been moved to view_component; it provides a framework for building reusable, testable, and encapsulated view components in Ruby on Rails.

gem install actionview-component
INSTALL
IMPORT
SIG · ACTIONVIEW-COMPONE
A
actionview-component
web-frameworkrubyv1.17.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ActionView::Component
require 'actionview-component'

Define a simple view component.

require 'actionview-component' class MyComponent < ActionView::Component def initialize(name:) @name = name end end
Debug
Known issues
breakingThis gem has been renamed to view_component. The actionview-component gem is deprecated and may not receive updates.
fix
Switch to the view_component gem and update your Gemfile accordingly.
affects: >= 1.0.0
Upgrade
Version history
1.17.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
43 hits · last 30 days
node
34
Amazon
1
OpenAI (training)
1
Resources
actionview-component — gem install actionview-component · libregistry