Open nawatts opened 3 years ago
Also split help content out of entry bundle.
As of 1d1eec15fae944c8daf272a26cb2b688417535bb, help content is no longer loaded with the entry bundle. However, all help content is still in one module and loaded when the main help page or any topic page is visited or any help popup is opened. Ideally, help topic pages and help popups should only load the relevant content.
JS code for the browser is currently all bundled into one multi-megabyte file. The major pages (gene, region, variant, structural variant, etc) can be split into separate bundles and loaded on demand.
https://reactjs.org/docs/code-splitting.html https://webpack.js.org/guides/code-splitting/