Defining API functions
Abstracting server communication in frontend applications
May 20, 20211 min read38
Search for a command to run...
Articles tagged with #typescript
Abstracting server communication in frontend applications
https://youtu.be/3PtiSy8G-Cs Sometimes when you write React and TypeScript code, you have to define event handlers. How do you choose the correct event type for them? Let's say we have an onChange event handler called handleTextChange: function App()...