fuselibs icon indicating copy to clipboard operation
fuselibs copied to clipboard

FuseJS exported class constructor called twice

Open trusis666 opened this issue 6 years ago • 1 comments

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;

trusis666 avatar May 07 '18 08:05 trusis666

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.

drslem avatar May 09 '18 08:05 drslem