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 statusonline & offlinefor now we are not implementing any functionality to handle messages.requirements:action.js has to implement the following method:function add Participantnamereturn a json object that has 'ADD PARTICIPANT' as type property & is given name as 'name' property.function removes Participantid return a json object that has 'REMOVEPROPERTY' as 'type' property & is given as id property. function toggle Participant Statusid return a json object that has 'REMOVEPROPERTY' 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
