React & TypeScript: Using useRef hook example
Updated: Jun 08, 2022
The example below shows you how to properly use the useRef hook with TypeScript in React. This task may sound simple but it can be challenging for people who aren’t familiar with types and functional components. WIthout any......
React + TypeScript: Handling Keyboard Events
Updated: Jun 08, 2022
This article walks you through the basics and a few practical examples of handling keyboard events in a React app that is written in TypeScript. We’ll use modern React features including hooks and functional components. You......
React Router: How to Highlight Active Link
Updated: Mar 04, 2022
This article shows you how to highlight the currently active link in React Router. We’ll discover the approach to do so then walk through a complete example of using this knowledge in practice. Note: We’ll use React......
← PreviousPage 11 of 11