--

This would make Typescript very unhappy. Instead use a render function that receives the result of the request as argument. It provides for better composability and static type safety

--

--

Ismayil Khayredinov
Ismayil Khayredinov

Written by Ismayil Khayredinov

Software engineer who combines optimism with pessimism to build robust and idiot-proof solutions

Responses (1)