I have this simple code below. When I press the Toggle Button the component Child should hide/show, but it's not.
Do I have to re-render something? I don't want to switch in/out a CSS class, just toggle via a button click
import React, {Component} from 'react';
let active = true
const handleClick = () => {
    active = !active
}
class Parent extends React.Component {
    render() {      
        return (    
            <div>  
                <OtherComponent />
                {active && <Child />}
                <button type="button" onClick={handleClick}>
                    Toggle
                </button>
            </div>            
        )           
    }
}
class Child extends React.Component {
    render() {
        return (    
            <div>          
                I am the child
            </div>            
        )             
    }
}
class OtherComponent extends React.Component {
    render() {       
        return (    
            <div>          
                I am the OtherComponent
            </div>            
        )           
    }
}