spotube/src/index.tsx
KRTirtho 09467e6e9a New:
- Lyric seek with continuos pop up on track change
- Settings (UI only)
- Switch (as toggler)
Modified:
- Home
- PlaylistGenreView
- TabMenu
All above was modified to adjust compatibility with
Lyric View & Settings
2021-03-30 09:52:03 +06:00

19 lines
496 B
TypeScript

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