Question: you are building a state management for a chat application with redux.specifically,this task should check your ability to implement actions and reducers to handle the

you are building a state management for a chat application with redux.specifically,this task should check your ability to implement actions and reducers to handle the state of such an application.we are interested in implementing functionality for adding users to chat room & toggling their status(online & offline).for now we are not implementing any functionality to handle messages.requirements:1.action.js has to implement the following method:function add Participant(name)return a json object that has 'ADD PARTICIPANT' as type property & is given name as 'name' property.function removes Participant(id) return a json object that has 'REMOVE_PROPERTY' as 'type' property & is given as 'id' property. function toggle Participant Status(id) return a json object that has 'REMOVE_PROPERTY' as 'type' property & is given as 'id' property. chegg

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!