Skip to content
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

Future of Komponent #169

Open
Spone opened this issue Jan 29, 2021 · 2 comments
Open

Future of Komponent #169

Spone opened this issue Jan 29, 2021 · 2 comments

Comments

@Spone
Copy link
Collaborator

Spone commented Jan 29, 2021

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 solution to organize our front-end code into components. Now in 2021 I feel like ViewComponent is the new standard for this. It is popular, very fast, well maintained and follows Rails conventions more closely than Komponent.

As you know, it's quite some work to maintain and evolve an open source project, and we haven't been up to the task in 2020. So we're considering deprecating Komponent, but we'd like to provide a path forward.

I currently work on a dozen projects heavily using Komponent (most of them still Rails 5.2), and some of them are migrating (or considering migrating) to ViewComponent.

If you are using Komponent, can you please tell us:

  • if it still makes sens to start a new project with Komponent in 2021?
  • if you're considering migrating to ViewComponent (or if you've already started)
  • if you want to stay on Komponent because some features are missing in ViewComponent
  • if you're interested in working on tools to ease the transition

Thanks in advance!


EDIT: I've started working on a draft to help you migrating to ViewComponent. Please review and contribute!

@Spone
Copy link
Collaborator Author

Spone commented Jan 29, 2021

cc @andrzejsliwa @olimart @gkemmey @MittchoBaroco @stevschmid and other contributors, I would be happy to read your opinion on this!

@florentferry
Copy link
Member

Hello here,

Seems a long time I don't have contribute to Komponent, mainly because I don't use it.

As you mentioned, it's difficult to maintain open source project, and even more when we don't actively use the projet in production. @Spone, and some others folks contributes to the projet, and it's nice to see people involved into it.

Rails introduced ViewComponent, and seems to be the standard, I don't use it either. Some projects in Ouvrages use Komponent, and should use it in future too, or not, depending or what ViewComponent has to offer. Komponent was born because there had no alternatives to components-view system in Rails ecosystem. Now with ViewComponent a Rails Way is rising.

Today, I make front-end only with javascript tools like React, and use Rails only for back-end. But Hotwire is a Rails Way solution to compete with javascript frameworks. Maybe tomorrow, we will some projects with Hotwire, and ViewComponent.

So, for me, working on tools to ease the migration seems a good solution for people which want to use the Rails View without losing time and money.

@Spone Spone pinned this issue Jan 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants