Closed jantimon closed 4 years ago
This is a first untested draft to allow async react component linking:
before:
@Component('DemoWidget') export class DemoWidget extends GondelReactComponent { start() { return import('./App').then((App) => this.App = App); } }
now:
@Component('DemoWidget') export class DemoWidget extends GondelReactComponent { App = import('./App') }
The main advantage is that this will not block other Gondel components from executing their sync method
I remove all changes unrelated to react (e.g. data plugin, events plugin or core)
This is a first untested draft to allow async react component linking:
before:
now:
The main advantage is that this will not block other Gondel components from executing their sync method