The Code
class ApplicationViewComponent < ViewComponent::Base
include Turbo::FramesHelper
end
class ExampleComponent < ApplicationViewComponent
end
The Pro’s & Cons
I’ve no idea what the cons are.
class ApplicationViewComponent < ViewComponent::Base
include Turbo::FramesHelper
end
class ExampleComponent < ApplicationViewComponent
end
I’ve no idea what the cons are.