xonomy icon indicating copy to clipboard operation
xonomy copied to clipboard

Rewrite as module using modern ESNext or Typescript

Open GerkinDev opened this issue 6 years ago • 1 comments
trafficstars

Xonomy is a good library, but still written using an old-fashioned single file pattern. This is a really big concern, in terms of:

  • readability
  • maintainability
  • testability
  • and even, with modern build tools like rollup.js or Parcel, backward compatibility & file size.

This is why a complete rewrite of Xonomy is, IMHO, a priority.

This rewrite could be done either in ESNext or in Typescript. The mail exchange I had with @michmech , the repo owner, was in favor of a Typescript transscripting.

The lib's design would be reworked to convert each Xonomy instance as a class instance, sharing a strict minimal configuration with others, to address issues like #35, thus allowing multiple Xonomy instance per page.

I'll work on a PR ASAP.

GerkinDev avatar Feb 14 '19 10:02 GerkinDev

Any progress on this @GerkinDev ?

captain-igloo avatar May 29 '20 08:05 captain-igloo