Posts in technical

React Effects with useEffect: Synchronizing Systems

Learn when React effects are needed, how dependencies control resynchronization, and how cleanup prevents leaked timers and subscriptions.

React Event Handling and Event Types

Learn to type React click, change, and form handlers in TypeScript, pass callbacks through props, and validate user input safely with clear examples.

Fetching and Typing API Data in React

Model fetch loading and error states, validate unknown JSON at runtime, and cancel outdated requests before rendering typed React results.

JSX and the React Render Tree

Learn how JSX expressions, fragments, and React elements describe a UI, then follow that description through rendering with practical examples and pitfalls.