Skip to content
#

twilio

Here are 1,339 public repositories matching this topic...

coreymaher
coreymaher commented Apr 20, 2021

Describe the bug
When joining a video room the following react warning is displayed in the developer console:

Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
    in ToggleVideoButton (at DeviceSelectionScreen.tsx:114
schuyler1d
schuyler1d commented Apr 29, 2021

Problem
An impatient texter can click several times while the first batch is being assigned by the server and if the timing is 'lucky' (i.e. unlucky) they can end up with several batches assigned to them even if there would have been restrictions on that.

Solution
In the src/texter-sideboxes/default-dynamicassignment/react-component.js file, before a mutation is sent to findNewCampai

Improve this page

Add a description, image, and links to the twilio topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the twilio topic, visit your repo's landing page and select "manage topics."

Learn more