Content
@
https://warpcast.com/~/channel/dalechyn
0 reply
0 recast
0 reaction
Vladyslav Dalechyn
@dalechyn.eth
few years passed and i'm now always keeping things simple i never destruct `props` i always do `const "hookName" = use"HookName"` much easier to breathe
1 reply
0 recast
3 reactions
Artem Kharchuk
@artem-hzdev
At the start of this year, I started doing this too. This is especially true for props, as it makes the code easier to read and more clear. But what do you mean about "hookName" ?
1 reply
0 recast
4 reactions
Vladyslav Dalechyn
@dalechyn.eth
const account = useAccount() cons getSomethingQuery = useGetSomethingQuery()
0 reply
0 recast
2 reactions