That code (which could definitely be prettier) loads an array of docSets in Proskomma serialized format, and also loads versification files for some of those docSets. In the latest version of Proskomma we could also be loading TSV files, syntax trees and/or key-value entries, and indeed any or all of those could be hiding inside the Proskomma serialized format.
@klappy This is almost the first thing that Chaliki does - see https://github.com/Proskomma/chaliki/blob/master/src/App.js
That code (which could definitely be prettier) loads an array of docSets in Proskomma serialized format, and also loads versification files for some of those docSets. In the latest version of Proskomma we could also be loading TSV files, syntax trees and/or key-value entries, and indeed any or all of those could be hiding inside the Proskomma serialized format.
How would we handle this cleanly using hooks?