Yoctol / react-messenger-customer-chat

React component for messenger customer chat plugin
MIT License
272 stars 69 forks source link

CLOSES #50 Hide messenger chat on component unmount #51

Closed dougnukem closed 4 years ago

dougnukem commented 4 years ago

CLOSES #50 CLOSES #38

When using <MessengerChatPlugin> if you don't want to display it on every page it is helpful that when the component is unmounted to hide the FB Messenger chat, otherwise it will render everywhere even after the react component is removed from the rendered DOM.

dougnukem commented 4 years ago

Request for review @tw0517tw @YongYuH