Integrating Bold BI Dashboards into Single Page Applications (SPA): What You Need to Know
This article explains how Bold BI dashboards can be embedded into Single Page Applications (SPAs) and clarifies the responsibilities between the application and the Bold BI component. It addresses common concerns about SPA compliance and dashboard refresh behavior.
Key Points:
-
SPA Compliance Is Not Required for Bold BI
Bold BI dashboards are embedded using iframes or SDK components. These components are self-contained and do not rely on the application’s routing or lifecycle. Therefore, Bold BI does not need to follow SPA architecture. -
SPA Behavior Is Managed by the Application
The responsibility for managing SPA behavior (such as routing, state management, and partial page updates) lies entirely with the application. Bold BI simply renders the dashboard as a component within the application. -
Dashboard and Widget Refresh Support
Bold BI supports widget-level refresh settings, allowing specific widgets to update at defined intervals. This enables real-time or near-real-time data updates without reloading the entire dashboard or page — aligning with SPA principles. -
No SPA-Specific Configuration Needed in Bold BI
Whether the application is a SPA or not, Bold BI behaves the same. There is no additional configuration required on the Bold BI side to support SPA environments.
Conclusion:
If you’re embedding Bold BI dashboards into a SPA, you do not need to modify Bold BI for SPA compliance. The application handles SPA behavior, while Bold BI provides a flexible and independent dashboard component that integrates seamlessly.