---
title: "Discussion on \"11) Typescript Reducer and Context\" | Hashnode"
description: "Discussion on \"11) Typescript Reducer and Context\". Reducer Typing in TypeScriptA reducer is a function that updates state based on actions.In TypeScript, we explicitly type: State, Action, Reducer functionDefine State Type\ntype CounterState = {\n  coun"
url: "https://hashnode.com/posts/11-typescript-reducer-and-context/6a0b19974e81b730485abc13"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [11) Typescript Reducer and Context](https://careerpath.hashnode.dev/11-typescript-reducer-and-context?utm_source=hashnode&utm_medium=feed)

Reducer Typing in TypeScriptA reducer is a function that updates state based on actions.In TypeScript, we explicitly type: State, Action, Reducer functionDefine State Type type CounterState = { coun

May 18 · 3 min read · careerpath.hashnode.dev  
Read the article

## Written by

[Rahul Garud](https://hashnode.com/@rahulgarud)

@rahulgarud

  
[View profile](https://hashnode.com/@rahulgarud)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
