You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can define any type suitable for clients and make a client for it with toClient function.
No error will prevent us from convertion to wrong type. From server definition we take only info on
path structure. Although we can augment it with info from RouteInfo and compare it at runtime with
things that we get from the client route type. And if they do not match we can try to warn user and produce run-time error.
It's some safety against blunder errors.
The text was updated successfully, but these errors were encountered:
We can define any type suitable for clients and make a client for it with toClient function.
No error will prevent us from convertion to wrong type. From server definition we take only info on
path structure. Although we can augment it with info from RouteInfo and compare it at runtime with
things that we get from the client route type. And if they do not match we can try to warn user and produce run-time error.
It's some safety against blunder errors.
The text was updated successfully, but these errors were encountered: