Content
@
https://ethereum.org
0 reply
0 recast
0 reaction
borodutch
@warpcastadmin.eth
gm, hooks-based react evm rpc api was a terrible mistake instead of having easy-to-follow top-to-bottom left-to-right syntax we have something similar to try/catch we had with promises when your eyes constantly search for state variables looking at you viem
5 replies
0 recast
4 reactions
jxom
@jxom
not really sure what you mean, viem doesn't have hooks ser
1 reply
0 recast
0 reaction
borodutch
@warpcastadmin.eth
damn wanted to say wagmi
1 reply
0 recast
0 reaction
jxom
@jxom
still not sure what you mean, can you elaborate? π«‘
1 reply
0 recast
0 reaction
borodutch
@warpcastadmin.eth
hooks-based api for contract interactions makes it impossible to write easy-to-read stateful code of any real-world feasible complexity it has to be a simple await statement, we shouldn't need three variables for return data, call function, and error β and then having to handle it in UI
1 reply
0 recast
0 reaction