I have a Angular v16.2.1 app with @builder.io/angular v3.0.1, I am using builder-component in my angular component -
<builder-component #builderComponent (load)="handleLoadEvent($event)" (error)="handleErrorEvent()" [model]="modelName" [options]="options" [data]="data" [context]="context"> </builder-component>
the data here is quite dynamic and changes per component or user action on a component, for which I have a ‘data angular service’ and which sends Angular signals (or observables)
Whats the problem ?
- When the data is updated and sets the new data on very update from signal, the builder-component just freezes everything and browser/application becomes unresponsive.
Looks like the builder-component data is not dynamic and doesn’t support multiple updates. How to deal with async data - like this?
Code Snippet :
protected readonly dataEffect =
effect(() => {
const newData = this.dataService.dataSignal();
this.data = newData;
});
Tried with both signal and rxjs Observers, same result.
Even checked Builder.IO examples on Github, but there is none with dynamic data like this.
Code stack you are integrating Builder with
Angular 16