Open rogerhutchings opened 5 years ago
Related comment from #366
A couple of things that have arrived since this was first written: dynamic import in Node and in browsers. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import Suspense for lazy loading in React. https://reactjs.org/docs/code-splitting.html
Package
lib-classifier
Feature or Issue Description
As described in e.g. #366, we can dynamically load in subject viewers and drawing tools when actually required. This will need some additional store code to keep track of what's being loaded, and what has already been loaded.