Comment empêcher le clic jacking dans React JS
// Won't render the application if WebApp is under Clickjacking attack
if(window.self === window.top) {
ReactDOM.render(<WrappedApp />, document.getElementsByClassName('app')[0]);
} else{
ReactDOM.render(<UnsecuredPage />, document.getElementsByClassName('app')[0]);
}
S4N705H