ABSTRACT

This is a large chapter that covers many advanced topics. It starts with the concept of shared variables, and resizing; how to keep the visualisation responsive. We also look at pre-render hooks to ensure your visualisation is not a security risk or a bottleneck on performances. We explore how to prepend and append content to a visualisation such as adding a title or a footer. We also look at dynamically injecting dependencies in the widget to keep the visualisation produced light and more performant. We also look at making widgets compatible with one another and how to design unit tests. We end the chapter with a word on performances and tips to improve them.