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

Add webworker rendering to the vite embedded demo example #1

Merged
merged 1 commit into from
May 1, 2024

Conversation

cmdcolin
Copy link
Collaborator

@cmdcolin cmdcolin commented May 1, 2024

Fixes GMOD/jbrowse-components#3730

It is a little tricky because it requires setting {type:'module'} on the new Worker, which the @jbrowse/react-linear-genome-view/esm/makeWorkerInstance does not do. We could add this though

currently, the workers do offer better performance, so it is beneficial to make our embedded examples include this functionality if possible

@cmdcolin cmdcolin merged commit d54e843 into main May 1, 2024
@cmdcolin cmdcolin deleted the webworker_rendering branch May 1, 2024 22:43
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

Successfully merging this pull request may close these issues.

Add ability to use WebWorkerRpcDriver on vite and nextjs examples
1 participant