-
FEATURED COMPONENTS
First time here? Check out the FAQ!
In microservices kind scenario, while loading content from multiple zk-embedded-app. Each zk-embedded-app is loading zk.wpd file thereby performance is getting degraded.
Any way to implement single single Ui having multiple backend zk apps
During my local tests I made the same observations: You definitely won't be able to embed zk-pages running on multiple ZK versions since ZK loads its JS packages into the global namespace. This is a hard constraint, the ZK versions need to match exactly. Also styles in ZK are not scoped you'll need the same theme everywhere. (ZK is still a frontend framework so I'd not call it 'backend')
Besides that there seem to be race conditions initializing multiple embedded divs simultaneously. It seems this scenario hasn't been considered during the development. We'll investigate further and post the relevant issues.
Issue: ZK-4715
Update 2020-11-27: ZK-4715 fixed for 9.5.1 - testable since 9.5.1.FL.20201126(-Eval)
Asked: 2020-11-01 10:23:49 +0800
Seen: 15 times
Last updated: Nov 27 '20