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?
Hi, @Dhruvesh We checked into this and it seems to be working. If the data is reactive, it should update properly. For example, if we have a count variable and we want to pass it down it will send the updated value down whenever it’s updated
Hi @garima,
Thanks this is resolved. But what I noticed is certain data structures cannot be shared with Builder.IO data. For example something complex like - Angular Service instance or Class instance. (Of course I never intended to share those data )
Once I removed those problematic fields/data it worked!