Skip to content

Commit ad0373c

Browse files
committed
refactor: Improved device/keyboard state mgmt.
* Use context to track the current RPC connection. * Move keyboard view into dedicated control. * Proper effect/state usage for loading varios resources from the connected device.
1 parent e77c09b commit ad0373c

File tree

6 files changed

+417
-102
lines changed

6 files changed

+417
-102
lines changed

package-lock.json

Lines changed: 234 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"build-storybook": "storybook build"
1414
},
1515
"dependencies": {
16-
"@tauri-apps/api": "^2.0.0-beta.11",
16+
"@tauri-apps/api": "^2.0.0-beta.13",
1717
"react": "^18.2.0",
1818
"react-dom": "^18.2.0",
1919
"ts-zmk-rpc-core": "file:../zmk/rpc-clients/typescript/ts-zmk-rpc-core"
@@ -28,7 +28,7 @@
2828
"@storybook/react": "^8.0.10",
2929
"@storybook/react-vite": "^8.0.10",
3030
"@storybook/test": "^8.0.10",
31-
"@tauri-apps/cli": "^2.0.0-beta.17",
31+
"@tauri-apps/cli": "^2.0.0-beta.20",
3232
"@types/react": "^18.2.66",
3333
"@types/react-dom": "^18.2.22",
3434
"@types/web-bluetooth": "^0.0.20",

0 commit comments

Comments
 (0)