DEV Community

Discussion on: Building a chat app with Socket.io and React 🚀

 
nevodavid profile image
Nevo David

What do you mean by "standard Web API whenever possible"? :)

Thread Thread
 
lexiebkm profile image
Alexander B.K.

Because you mentioned about browser notification, I searched in MDN if there was a tools for that purpose. So I mean like this one : developer.mozilla.org/en-US/docs/W...
Of course, you are free to use other tools, library you have found suitable for that purpose.

Thread Thread
 
nevodavid profile image
Nevo David

It will probably be "web-push" library that wraps all those tools

Thread Thread
 
lexiebkm profile image
Alexander B.K.

Nice, I am waiting for that.
Actually, I also want to see how you handle global state management if there are cases for that. Specifically, how you use Redux, because I am learning Redux with the recommended way mentioned in the Redux doc, i.e using Redux Toolkit (RTK) and RTK Query.
But it is just fine if you don't use it in that app.

Thread Thread
 
nevodavid profile image
Nevo David

Anything specific you would like to build with Redux?

Thread Thread
 
lexiebkm profile image
Alexander B.K.

In my last project, I didn't use it, because I didn't learn it, it would take longer time before I could really use it. For global state management, I used a lib named reactN by Charles Stover which was easy to use.
But now that I realize in what case Redux is suitable for, I think I am going to use it for my nearest project.