droidconKE / droidconKE2022ReactNative

Official DroidconKE 2022 React Native App
https://play.google.com/store/apps/details?id=com.brianwachira.droidconKE2022ReactNative&hl=en&gl=US
MIT License
8 stars 17 forks source link

[Feature] State: Add and test out redux for async actions #28

Closed makunomark closed 1 year ago

makunomark commented 1 year ago

Is your feature request related to a problem? Please describe. There's an existing setup of redux but it's simple and tested for synchronous scenarios.

Describe the solution you'd like Using react-toolkit, please add support for async operations. For a high level guide, check out this blog.

Describe alternatives you've considered n/a

Additional context n/a

DeroMuli commented 1 year ago

I think ill pick this up @makunomark

DeroMuli commented 1 year ago

Hi , I cant seem to understand this task well. Should i create an createAsyncThunk function and fetch some data from the backend. Is the backend ready ? What data should I fetch ? @makunomark

makunomark commented 1 year ago

At the time of creation. I thought we would need to handle thunk separately. Turns out RTK has Thunk already added.

Think we can close this?

DeroMuli commented 1 year ago

I think we should close this @makunomark