Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FuseJS exported class constructor called twice #1160

Open
trusis666 opened this issue May 7, 2018 · 1 comment
Open

FuseJS exported class constructor called twice #1160

trusis666 opened this issue May 7, 2018 · 1 comment

Comments

@trusis666
Copy link

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;
@drslem
Copy link

drslem commented May 9, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants