WuuD-Team/RedhaBoilerplate

Improve Global State (incl. Server State, Async Actions ..etc)

Closed this issue ยท 1 comments

Hello ๐Ÿ‘‹๐Ÿป,

I think it's better to use the modern Redux approach by using redux-toolkit which increases productivity and adds many helpers like immer.js to handle the immutability under the hood and use the Duck Pattern ...etc

Also, these days we use libs like react-query and swr to handle the server state and avoid using some things like redux-thunk, redux-promise, redux-saga, redux-observable ...etc. and don't worry also we can use here the same module redux-toolkit/query with behaving like react-query and swr.

  • more about redux-toolkit here.
  • more about the redux-toolkit/query here.

I think this project is abandoned ...