Implement React-based plugin store (#81)

Co-authored-by: TrainDoctor <11465594+TrainDoctor@users.noreply.github.com>
Co-authored-by: WerWolv <werwolv98@gmail.com>
This commit is contained in:
AAGaming
2022-06-17 18:43:53 -04:00
committed by GitHub
parent a95bf94d87
commit 99b4b939bd
15 changed files with 2178 additions and 3915 deletions
+4
View File
@@ -92,6 +92,10 @@ class RouterHook extends Logger {
this.routerState.addRoute(path, component, props);
}
removeRoute(path: string) {
this.routerState.removeRoute(path);
}
deinit() {
unpatch(this.gamepadWrapper, 'render');
this.router && unpatch(this.router, 'type');