electron-trpc icon indicating copy to clipboard operation
electron-trpc copied to clipboard

Build type-safe Electron inter-process communication using tRPC

Results 40 electron-trpc issues
Sort by recently updated
recently updated
newest added
trafficstars

Since this PR https://github.com/trpc/trpc/pull/4136, TRPC Client allows users to close active subscriptions. Closing an active subscription using the current `electron-trpc` version will lead us to this error https://github.com/trpc/trpc/discussions/4060#discussioncomment-6791795 This PR...

Instruments desired cleanup brought up by https://github.com/jsonnull/electron-trpc/issues/164

Hi, In my application I have two windows with different type of routers. For both windows I'm trying to register IPC handlers using `createIPCHandler({router: router1, windows: [win1]})` and `createIPCHandler({router: router2,...

enhancement

Sometimes during development it's necessary to fully reload the page. I created this little subscription procedure to see whether there is a risk for memory leaks. And yes, there is....

# Summary This PR adds a vanilla typescript example project. The project uses a minimal configuration of `electron-vite`. It also adds some e2e tests for queries, subscriptions, and multi-window support....

tRPC code uses the same example as: https://github.com/trpc/trpc/tree/next/examples/minimal minimal Electron in TypeScript example from: https://github.com/ProfXwing/electron-quick-start-typescript I wasn't successful in importing something to the renderer. Probably some tsconfig mismatches. Maybe browsers...

I just noticed that the npm page doesn't have the necessary details for the `electron-trpc` package since the README is in the root and I haven't included additional meta in...

https://github.com/jsonnull/electron-trpc/blob/ef9df5e35a56554625ecfc26e1c2d6a2cb922981/src/renderer/ipcLink.ts#L1 seperate line for `import type { TRPCLink } from "@trpc/client";`

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pnpm](https://pnpm.io) ([source](https://redirect.github.com/pnpm/pnpm)) | [`9.0.6` -> `9.10.0`](https://renovatebot.com/diffs/npm/pnpm/9.0.6/9.10.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/pnpm/9.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...