I'm assuming they've taken the example to the n-th degree. You're right to question why you would want 3 libraries, but it does happen.
I'd think, the "right way" would be to have each feature's logic built as a micro-service and styling as a service. That way you have consistency where necessary, but divide up feature needs into more manageable chunks.