Stefan Baumgartner

Web ops, performance and front-end

TypeScript and React Guide: Added a new hooks chapter

15 November 2018 by @ddprrt | Posted in: TypeScript

Hooks are a new feature in React that I personally find pretty exciting. Shortly after their release in React 16.7., people started developing TypeScript typings via DefinitelyTyped. They’re pretty good, as you don’t have to do much to get all the type safety you need. I put together a little list of things to consider for all hook types in my TypeScript + React guide.

Check it out

Comments? Shoot me a tweet!