2024-06-14
5785
#redux
Chinwike Maduabuchi
121569
Jun 14, 2024 â‹… 20 min read

Handling user authentication with Redux Toolkit

Chinwike Maduabuchi Software engineer who loves to write. Find me at https://www.chinwike.space/

Recent posts:

React Libraries For Building Forms And Surveys

React libraries for building forms and surveys

Consider using a React form library to mitigate the challenges of building and managing forms and surveys.

Hussain Arif
Dec 11, 2024 â‹… 7 min read
Hoppscotch Vs Postman: A Guide To API Testing

Hoppscotch vs. Postman: a guide to open source API testing

In this article, you’ll learn how to set up Hoppscotch and which APIs to test it with. Then we’ll discuss alternatives: OpenAPI DevTools and Postman.

Chigozie Oduah
Dec 10, 2024 â‹… 5 min read
React Native logo over red background.

Implementing camera functionality in React Native

Learn to migrate from react-native-camera to VisionCamera, manage permissions, optimize performance, and implement advanced features.

Chimezie Innocent
Dec 9, 2024 â‹… 13 min read
Solid Principles For Javascript

SOLID principles for JavaScript

SOLID principles help us keep code flexible. In this article, we’ll examine all of those principles and their implementation using JavaScript.

Frank Joseph
Dec 5, 2024 â‹… 10 min read
View all posts

10 Replies to "Handling user authentication with Redux Toolkit"

  1. I must be doing something wrong because I have to wait a minute or refresh my page for the user name to show up …

  2. Hello, why you are using an RTK Query getUserDetails query for the profile route. ? why not CreateAsyncThunk ?

  3. But when we try to get api/user/profil , which user you are calling ? I am kinda confused , Because as a far I know, we can get only user by Id, username, mail or phone number etc

  4. There is one question I would ask you. How you are using the same authSlice.js for login,register and logout?

Leave a Reply