@@ -8,9 +8,9 @@ import Agile, {
88 flatMerge ,
99 extractRelevantObservers ,
1010 normalizeArray ,
11- LogCodeManager ,
1211} from '@agile-ts/core' ;
13- import type { Collection } from '@agile-ts/core' ; // Only import Collection and Group type for better Treeshaking
12+ import type { Collection } from '@agile-ts/core' ;
13+ import { LogCodeManager } from '../logCodeManager' ; // Only import Collection and Group type for better Treeshaking
1414
1515/**
1616 * A Higher order Component for binding the most relevant value of multiple Agile Instances
@@ -57,10 +57,7 @@ export function AgileHOC(
5757 }
5858 }
5959 if ( ! agileInstance || ! agileInstance . subController ) {
60- LogCodeManager . getLogger ( ) ?. error (
61- 'Failed to subscribe Component with deps' ,
62- deps
63- ) ;
60+ LogCodeManager . log ( '32:03:00' , [ deps ] ) ;
6461 return reactComponent ;
6562 }
6663
@@ -93,9 +90,8 @@ const createHOC = (
9390 public agileInstance : Agile ;
9491 public waitForMount : boolean ;
9592
96- public componentSubscriptionContainers : Array <
97- ComponentSubscriptionContainer
98- > = [ ] ; // Represents all Subscription Container subscribed to this Component (set by subController)
93+ public componentSubscriptionContainers : Array < ComponentSubscriptionContainer > =
94+ [ ] ; // Represents all Subscription Container subscribed to this Component (set by subController)
9995 public agileProps = { } ; // Props of subscribed Agile Instances (are merged into the normal props)
10096
10197 constructor ( props : any ) {
@@ -235,9 +231,8 @@ const formatDepsWithIndicator = (
235231export class AgileReactComponent extends React . Component {
236232 // @ts -ignore
237233 public agileInstance : Agile ;
238- public componentSubscriptionContainers : Array <
239- ComponentSubscriptionContainer
240- > = [ ] ;
234+ public componentSubscriptionContainers : Array < ComponentSubscriptionContainer > =
235+ [ ] ;
241236 public agileProps = { } ;
242237
243238 constructor ( props : any ) {
0 commit comments