Should I load multiple registerLayout-classes in a one or in multiple worklets?

Dear public-houdini-list,

What should I do if I'm writing an application which has multiple
"registerLayout" layout-api classes (I'm talking about more than 20
classes)?
- Should I call "registerLayout" multiple times from within one worklet
(one bundled worklet.js file loaded via one "CSS.layoutWorklet.addModule")?
- Or should I create multiple worklets, each with one "registerLayout"?

Which one of these options would be most performant?
I cannot find this information in any resources (W3C-specs, Github, talks,
blogs, examples, ...)

Thanks a lot,

*Bob Hamblok | BOAPP GCV*
Freelance Software Engineer | Architect | Consultant
founder at neoScores NV

*EMAIL* post@bhamblok.be
*PHONE* +32 476 74 78 42

*ADDRESS* Jennevalstraat 18, BE-2600 Antwerp, Belgium
*VAT* BE0682.695.007

Received on Monday, 7 October 2019 14:26:39 UTC