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

react: Add Router hook & fix typescript issues #68

Merged

Conversation

AAGaming00
Copy link
Member

Adds an API for adding our own routes to the react-router instance.

Also fixes issues with TypeScript's JSX support.

@AAGaming00
Copy link
Member Author

CI fails because decky-frontend-lib hasn't been updated on NPM.

@AAGaming00 AAGaming00 changed the title Add Router hook & fix typescript issues react: Add Router hook & fix typescript issues May 30, 2022
@JohnnyCrazy JohnnyCrazy merged commit 007860f into SteamDeckHomebrew:react-frontend-plugins May 30, 2022
KP2048 pushed a commit to EmuDeck/decky-loader that referenced this pull request May 4, 2023
* add rollup watch command, add pnpm lockfile

* wait for react

* add WIP patcher, window hook, and webpack

* fix typescript, fix React, lint, add pnpm to gitignore

* actually fix react

* show frontend JS errors in console

* cleanup

* Add Router hook

* Remove console.log

* Expose routerHook in createPluginAPI

Co-authored-by: Jonas Dellinger <jonas@dellinger.dev>
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

Successfully merging this pull request may close these issues.

2 participants