New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Third Party Component Libraries (ViewComponent) #156
Comments
Looking at In that example, I think it should work by just changing Let me close this as I'm still not sure what should be done in hamlit.gem side, but please reopen this if you have ideas of things to be done here. |
I'm not sure what may have been updated in the 6 or so months since this issue was opened, but I just tried to make ViewComponent with a project that uses hamlit, and it seemed to render/behave fine. It was a limited, initial test, so there might be unknown issues that I have not yet come across, but it seems like ViewComponent is cooperating fine with hamlit these days, with just following the instructions to install from ViewComponent's page. |
I'm trying to use (didn't get the error with haml) |
It's intentional that Hamlit doesn't offer most of Haml's helpers like
Note that Haml is going to remove |
Will there be any issues with Hamlit supporting Third Party Component libraries such as github's view_component library?
I have been looking at hamlit for a project, while also following recent Rails developments concerning integrating third-party component libraries such as described in the rails/rails#36388 PR.
From reading the description of both the Rails PR and view_component, it seems like they will support haml, and it seems like in general if haml is supported then hamlit will be supported.
But I want to confirm if there might be issues with integrating hamlit with component libraries, when they are supported/released in Rails.
The text was updated successfully, but these errors were encountered: