---
title: "Discussion on \"Getting Started with React, TypeScript and Redux.\" | Hashnode"
description: "Discussion on \"Getting Started with React, TypeScript and Redux.\". This blog post will walk us through setting up a React, TypeScript and Redux application in few minutes. I'd assume you are familiar with the React ecosystem and probably have worked with TypeScript before but if you haven't, I'll briefly talk about ..."
url: "https://hashnode.com/posts/getting-started-with-react-typescript-and-redux/5fc3c7044b7d527151c3856c"
---

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

Discussion

# [Getting Started with React, TypeScript and Redux.](https://abdqaadir.hashnode.dev/getting-started-with-react-typescript-and-redux?utm_source=hashnode&utm_medium=feed)

This blog post will walk us through setting up a React, TypeScript and Redux application in few minutes. I'd assume you are familiar with the React ecosystem and probably have worked with TypeScript before but if you haven't, I'll briefly talk about ...

Nov 29, 2020 · 16 min read · abdqaadir.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#redux](https://hashnode.com/tag/redux)

## Written by

[Lateef Quadri Olayinka](https://hashnode.com/@AbdQaadir)

@AbdQaadir · Akure, Nigeria

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

Front End Developer

I am AbdQaadir by name. A Nigeria based Front End Developer. I'm interested in Software Engineering and Cyber Security.

## Responses 1

Markdown supported · ⌘↵ to post

[Mark Erikson](https://hashnode.com/@acemarke)

[Nov 29, 2020](https://hashnode.com/posts/getting-started-with-react-typescript-and-redux/5fc3c7044b7d527151c3856c/comment/5fc3d68b4b7d527151c386b3)

FWIW, this process can be simplified greatly, on several levels.

First, we already have a Redux+TS template for Create-React-App: [github.com/reduxjs/cra-template-redux-typescript](https://github.com/reduxjs/cra-template-redux-typescript) . It comes with Redux Toolkit and React-Redux already configured.

Second, the examples here are actually going _against_ how we recommend writing Redux code.

-   Redux Toolkit is installed, but it's not being _used_ at all to write the reducers
-   You _should_ be using the `createSlice` API, which will also auto-generate the action creators for you
-   `createSlice` uses Immer inside, so you can "mutate" the state inside of the reducer instead of having to write spread operations for immutable updates
-   The logic should be organized into single-file "slice" files per feature - no need for separate "actions" and "action-creators" files.

Please see these resources for our guidelines on how to write Redux code correctly:

-   [redux.js.org/tutorials/fundamentals/part-8-modern…](https://redux.js.org/tutorials/fundamentals/part-8-modern-redux)
-   [redux.js.org/style-guide/style-guide](https://redux.js.org/style-guide/style-guide)
-   [redux-toolkit.js.org/usage/usage-with-typescript](https://redux-toolkit.js.org/usage/usage-with-typescript)

[Lateef Quadri Olayinka](https://hashnode.com/@AbdQaadir)

[Nov 29, 2020](https://hashnode.com/posts/getting-started-with-react-typescript-and-redux/5fc3c7044b7d527151c3856c/comment/5fc3d68b4b7d527151c386b3#reply-5fc3e8990a072175ef2ce224)

Thanks, [Mark Erikson](https://hashnode.com/@acemarke)

I'll definitely check the links up.
