constraintjs icon indicating copy to clipboard operation
constraintjs copied to clipboard

Modules

Open QuentinRoy opened this issue 9 years ago • 0 comments

ConstraintJS embeds a lot of different functionalities such as templates or fsm. All these functionalities make the library quite big while a user may only need some part of it.

I think it would be great to reorganise a bit the library in modules, e.g. ES6 modules that is the upcoming standard and that can already be used using babel. The tradeoff of this approach is the requirement for a compilation process but constraintjs is already compiled.

This has two main advantages:

  1. Cleaner and easier to maintain.
  2. One can import only the parts he needs.

Now I actually already started to work on this for my personal use so I can submit a push request if I succeed in doing so. I have two questions however:

  1. None of my previous push requests have ever been merged. Is there any chance this push request could be merged or should I just not worry about it?
  2. Is this (great) project still maintained at all? If it is not there is no need for me to make sure that future commits from this side can easily integrated in my fork.

QuentinRoy avatar Nov 14 '15 14:11 QuentinRoy