Mayhul
Explore posts from serversMigrating to use Superjson
Here's the solution I came up with:
Step 1, update my code to look like:
Deploy this, force all of our React Native to update. Then, once all of our clients have updated, I can switch to using superjson as normal. Basically wrapping superjson to be backwards compatible.
Assuming that we don't use
json
as a key in any of our trpc inputs/ouputs, are there any other issues that you think this could cause?10 replies