Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Calculator example uses outdated nodegui API #4
Cloning this repo, building, and running as-is works perfectly thanks to the project-lock.json. (I believe this might be why the issue was overlooked.) But running
The example project is using @nodegui/nodegui v0.6.5
I would advise amending the project.json file so as to limit support to that last compatible version of the package. (running
I had the same issue, I think hooks are the way to use the events now, this might help.
as shown in the starter kit here....
I may be able to do a PR to update the examples to use the new versions if i get time.
I have the same issue with the
As a result, I cannot use router with the newest API (I don't want to start my application using the old one).
Also, it looks like the documentation is not up to date too.
Hi @matrunchyk I have fixed the example code.
I had to add an extra
The extra View is needed since React's reconciler tries to add a view before removing a child view.
You can find the changes needed in this commit here: e8bff26