You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Translation/src/index.tsx

13 lines
344 B

import { Renderer } from "@nodegui/react-nodegui";
import React from "react";
import App from "./app";
process.title = "My NodeGui App";
Renderer.render(<App />);
// This is for hot reloading (this will be stripped off in production by webpack)
if (module.hot) {
module.hot.accept(["./app"], function() {
Renderer.forceUpdate();
});
}