fuselibs
fuselibs copied to clipboard
FuseJS exported class constructor called twice
Reported in forum.
Fuse 1.8.1 MacOs High Sierra
Isuue:
In Fuse Studio, when app builds, message from constructor appears twice in console.
Build completed in 4.77 seconds
[Viewport]: Density changed, reifying
[Viewport]: im called
[Viewport]: im called
Code to reproduce:
MainView.ux
<App Model="MyApp">
</App>
MyApp.js
class MyApp {
constructor() {
console.log('im called');
}
}
export default MyApp;
I was not able to reproduce the issue on Windows with 1.8.1
It does however also happen for 1.6.0 (first release of new FuseJS model) and 1.7.0 on macOS. While this doesn't make the problem any less annoying it means that it is at least not a recent regression.