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

Minimize HiGlass dependencies #852

Closed
sehilyi opened this issue Mar 27, 2023 · 0 comments
Closed

Minimize HiGlass dependencies #852

sehilyi opened this issue Mar 27, 2023 · 0 comments

Comments

@sehilyi
Copy link
Member

sehilyi commented Mar 27, 2023

Gosling.js depends on HiGlass, but we use only small parts of HiGlass. For example, we do not use many UI components implemented in HiGlass by setting editable false in HiGlass' viewConfig (https://docs.higlass.io/view_config.html#viewconf-structure). This HiGlass dependency limits Gosling.js' flexibility and customizability.

For example, we are forcing users to use a certain version of React, consistent with the version in HiGlass (v17). If we remove the React dependency, we can enable Gosling.js users to use other libraries, such as Vue, Angular, pure JS, etc. The arrangement of views and tracks is also restricted by the use of react-grid-layout (https://github.com/react-grid-layout/react-grid-layout).

Toward this, we need to publish a smaller package of HiGlass that removes React. We can make HiGlass a monorepo for this.

Related Issues & PRs

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

1 participant