Was playing with FuseJS and found interesting thing.
For some reason, constructor is called twice. Just add console.log inside constructor and you will see this.
Is it planned to behave like this?
Was playing with FuseJS and found interesting thing.
For some reason, constructor is called twice. Just add console.log inside constructor and you will see this.
Is it planned to behave like this?
I have the same problem. @Fuse please fix this, the development process is very frustrating this way. Imagine large tasks, api calls, etc. called twice each time you test your code…
Hey @Vladimir_Milenko and @toineks
Could someone share minimal copy-paste code to reproduce the problem?
class MyApp {
constructor() {
console.log('im called');
}
}
export default MyApp;
Then in UX:
<App Model="MyApp">
</App>
You will see, that it’s logged twice.
Thank you @Vladimir_Milenko.
I have created issue ticket.