Edit: is it so much to ask to not want to write code that looks like gibberish? I don’t care what the benefits are, it looks like gibberish code. Can type safety be accomplished without gibberish code?
I think in Java it goes something like this:
Function (String s, int num)
Ok, I’m on board. You Typescript bastards are writing gibberish code and I don’t care who disagrees.
The most important part of all that code is the part in the prisma calls, which would handle all the caching and request logic.
The rest is literally just making sure you name your stuff correctly and render it.
If you want actual type safety for your large client-side app, use rust/wasm. If your client side app is small, why do any of this?
The belief in WASM as a method to build client-facing software is an amusing self own. There is literally no production examples because it is not production ready for dom-heavy stuff.