DEV Community

Discussion on: How to setup Redux toolkit with TypeScript

Collapse
 
emil14 profile image
Emil Valeev

Hello! Thank you for the article :)

Why don't you use createAsyncThunk? Could be even smaller with them

Collapse
 
debosthefirst profile image
Adebola

Thank you for pointing that out. I didn't realize RTK had that API.

Collapse
 
mavortius profile image
Marcelo Martins

Sorry, but why you still use class components?

Collapse
 
debosthefirst profile image
Adebola

Hi Marcelo.

Please point out where

Thread Thread
 
mavortius profile image
Marcelo Martins

Sorry, I made a mistake. I should to reply Martin Rausher's comments below.