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

Rewrite as module using modern ESNext or Typescript #41

Open
GerkinDev opened this issue Feb 14, 2019 · 1 comment
Open

Rewrite as module using modern ESNext or Typescript #41

GerkinDev opened this issue Feb 14, 2019 · 1 comment

Comments

@GerkinDev
Copy link

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.

This was referenced Feb 14, 2019
@captain-igloo
Copy link

Any progress on this @GerkinDev ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants