Skip to content

How to embed in a react application? #1637

Discussion options

You must be logged in to vote

There are a couple options depending on what you need. The full JBrowse 2 Web app is built as a single-page application, but if you need it to be inside another page instead of as a separate page, the best option is to use an <iframe>.

The linear genome view functionality of JBrowse 2 is also published separately as a React component which you can use in your application: https://www.npmjs.com/package/@jbrowse/react-linear-genome-view.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Sultan-Mohammad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants