---
title: "Comment by Mark Erikson on \"Getting Started with React, TypeScript and Redux.\" | Hashnode"
description: "FWIW, this process can be simplified greatly, on several levels. First, we already have a Redux+TS template for Create-React-App: https://github.com/reduxjs/cra"
url: "https://hashnode.com/posts/getting-started-with-react-typescript-and-redux/5fc3c7044b7d527151c3856c/comment/5fc3d68b4b7d527151c386b3"
---

[Discussion](https://hashnode.com/posts/getting-started-with-react-typescript-and-redux/5fc3c7044b7d527151c3856c)

Comment [Getting Started with React, TypeScript and Redux.](https://hashnode.com/posts/getting-started-with-react-typescript-and-redux/5fc3c7044b7d527151c3856c)

[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.
