An open API service indexing awesome lists of open source software.

https://github.com/c-ehrlich/trpc-querykey-bug

demo for issue
https://github.com/c-ehrlich/trpc-querykey-bug

Last synced: 9 months ago
JSON representation

demo for issue

Awesome Lists containing this project

README

          

tRPC querykey issue demo
- seems to have been introduced in beta14

1. open localhost:3000, you will see it uses two different querykeys:
- ssr uses `["example.hello",{"text":"from tRPC"}]`
- useQuery uses `[["example","hello"],{"text":"from tRPC"}]`

2. downgrade all tRPC packages to 10.0.0-proxy-beta-13
- now both ssr and useQuery use `["example.hello",{"text":"from tRPC"}]`