Skip to content

ViewComponent 4.0 and Bridgetown 2.0 support - #10

Open
mikz wants to merge 3 commits into
bridgetownrb:mainfrom
mikz:bridgetown-2-support
Open

mikz wants to merge 3 commits into
bridgetownrb:mainfrom
mikz:bridgetown-2-support

Conversation

@mikz

@mikz mikz commented Oct 17, 2025 •

Copy link
Copy Markdown

The aim of this PR is to bring bridgetown-view-component to the latest version of bridgetown (2.0) and view_component (4.0).

TODO

How to try this

For anyone wanting to try this on a project and give feedback.

Add this to your bridgetown Gemfile:

gem "bridgetown-view-component", github: 'mikz/bridgetown-view-component', branch: 'bridgetown-2-support'

@mikz
mikz force-pushed the bridgetown-2-support branch from 54cee40 to 0c24f70 Compare October 17, 2025 10:00
@mikz
mikz marked this pull request as ready for review January 9, 2026 10:27
require "view_component"

# Create basic Rails namespace when in Bridgetown-only context
# Remove this when https://github.com/ViewComponent/view_component/pull/2462 is merged and released.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is merged, but not yet released as of ViewComponents 4.1.1

@mikz

mikz commented Jan 9, 2026

Copy link
Copy Markdown
Author

@jaredcwhite I think this should be good to release, but I'd wait for feedback from @ksol as he already identified one issue in #9 (comment)

@ksol

ksol commented Jan 12, 2026

Copy link
Copy Markdown

I'll try and take a look this week, but no promises as I've started a new job. Don't wait on me if I take too long :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants