You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was just about to make a ticket about embedding genome browser in a react project. I was just looking for a how-to but maybe you have to remove the dependency first?
Hey @hitz, you can use it in a react project by calling reactRender(props: {width, height}) which produces a react element. For example, to use it with JSX you can do something like:
Currently React is required to use the browser, however it's only needed for the headers which could be done via plain-old html
It would be nice to remove the React dependency to simplify the experience for users
This also requires removing the material-ui dependency
The text was updated successfully, but these errors were encountered: