kbrsh / moon

🌙 The minimal & fast library for functional user interfaces
https://moonjs.org
MIT License
6k stars 200 forks source link

moon v1 lifetime #230

Closed rizrmd closed 6 years ago

rizrmd commented 6 years ago

Congratulations for releasing moon v1 🎉

I see a lot of change, obviously my current moon project is obsolete now.

I am firm believer of moon, but the case of many breaking change like before make me think. What if my moon project will be unsupported by next month version of moon. Can I base my work on moon v1 ?

rizrmd commented 6 years ago

The one that hook me to moon is:

"10kb ui framework that taste like vue", I know that is not your promise, but that is the one that hook me.

Is it still valid? I guess so, but current v1 documentation is rarely highlighting that.

terrybr commented 6 years ago

This is a complete rewrite, and I doubt that @kbrsh will rewrite it again next month. Right now it's a beta version so I don't think you should use it in production yet.

As for what hook you to moon:

"Small file size (3kb minified + gzip)" is on the moon's Github summary page.

rizrmd commented 6 years ago

So what is the life expectancy of moon v1 ? a month, three month ?

"Small file size (3kb minified + gzip)" is on the moon's Github summary page.

ok... my point is that, we have to highlight it more.

terrybr commented 6 years ago

So what is the life expectancy of moon v1 ? a month, three month ?

It needed a complete rewrite because some bugs were hard to fix. I believe this is a solid foundation of moon.

This is a beta version so life expectancy of the beta depends if more people would contribute to the beta testing. As I said, there will not be a complete rewrite of moon each month.

rizrmd commented 6 years ago

Yes, I know what beta is... but when v1 is released -- which is not beta, I think we have to set some guarantee that it will not change in X month, minor change is fine, but not breaking change.

kbrsh commented 6 years ago

@terrybr Is right — it took over a year of development to rewrite Moon into v1. This time, I started from scratch with a simple philosophy and developed Moon from there. You can expect there to be little to no breaking changes in the foreseeable future.

Also, your current project isn't obsolete — that changes aren't super drastic but just make the API cleaner and more consistent — it should be doable with some effort.