GMOD / jbrowse-components

Source code for JBrowse 2, a modern React-based genome browser
https://jbrowse.org/jb2
Apache License 2.0
208 stars 62 forks source link

Add demo of using farm-fe bundler for embedded components #4466

Closed cmdcolin closed 4 months ago

cmdcolin commented 4 months ago

This adds a demo of using the farm-fe bundler with our components (https://github.com/farm-fe/farm)

it is a new bundler sort of similar to vite, and was fun to try out. it's quite fast. the only thing i saw that was tricky was that i had to disable treeShaking in production builds cause it caused an error with "Grow not found" (mui component <Grow/>) for unknown reason.

I also removed the CRA 4 demos from the list. they are getting a bit old. the "dev mode" for example no longer works due to new syntax in the x-data-grid package