Nice article.
I was wondering if there's a tool like we have for Redux (Redux DevTools) that shows dispatched actions and the payload if we use 'useReducer'.
Had been using 'useReducer' for sometime but didn't come across such tool.
Hi Pritam, thanks for reading! ๐
As far as I know, you can watch the payloads of useReducer inside React DevTools.
I think it only shows the state that you have with reducer key in React DevTools and not the intermediate actions and their payloads. I was more interested in seeing the state updates the redux way. Ernesto Angulo
Pritam Patil
Web Developer
Nice article. I was wondering if there's a tool like we have for Redux (Redux DevTools) that shows dispatched actions and the payload if we use 'useReducer'. Had been using 'useReducer' for sometime but didn't come across such tool.