Basically, I have this rather simple reaction component. What he does is wrap up the reaction-intercom system and display it only if the state changes. To simplify the question, I applied the shouldCompoenentUpdate() method to always return false.
import React from 'react'; import Intercom from 'react-intercom'; class IntercomWrapper extends React.Component { shouldComponentUpdate(nextProps, nextState) {
What happens is that he always rederts, which should not be.
Does anyone know why this will happen?
source share