File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 1
- # ` zod-sdk `
1
+ ![ zod-sdk] ( ./zod-sdk.png )
2
2
3
3
Zod SDK is an RPC library. Like TRPC it's going to reflect types from your backend. Of course, it does more than that. Here's what:
4
4
5
+ - [ What and why] ( #what-and-why )
6
+ - [ Type narrowing your payloads] ( #type-narrowing-your-payloads )
7
+ - [ Asynchronous context tracking in Node] ( #asynchronous-context-tracking-in-node )
8
+ - [ Where does zod come in?] ( #where-does-zod-come-in )
9
+ - [ Getting Started] ( #getting-started )
10
+ - [ On the server, make a router] ( #on-the-server-make-a-router )
11
+ - [ On the client, make a dispatcher] ( #on-the-client-make-a-dispatcher )
12
+ - [ useQuery in React] ( #usequery-in-react )
13
+ - [ server] ( #server )
14
+ - [ server.makeService] ( #servermakeservice )
15
+ - [ server.makeRouter] ( #servermakerouter )
16
+ - [ server.makeQuery] ( #servermakequery )
17
+ - [ client] ( #client )
18
+ - [ client.makeDispatcher] ( #clientmakedispatcher )
19
+ - [ client.query] ( #clientquery )
20
+ - [ client.command] ( #clientcommand )
21
+ - [ FAQ] ( #faq )
22
+ - [ To do] ( #to-do )
23
+
24
+ <br />
25
+
5
26
# What and why
6
27
7
28
## Type narrowing your payloads
You can’t perform that action at this time.
0 commit comments