loading...

re: How to use toggle outside of class component render and toggle inside variable reactjs? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I made a working POC based in your code and leave some comments in code, codesandbox.io/s/xenodochial-breez... I hope it helps you
 

I think, you do not understand properly. now think, I want to make a chat and then send the message then I want to set the delete option or any other button, toggle but without any sending SMS I don't want to toggle. only specific SMS toggle should work so that I can add delete, toggle, edit, copy etc button.

code of conduct - report abuse