Inclure React in HTML
<!-- ... autres contenus HTML ... -->
<!-- Charge React -->
<!-- Remarque : pour le déploiement, remplacez "development.js"
par "production.min.js" -->
<script src="https://unpkg.com/react@16/umd/react.development.js" crossorigin></script>
<script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js" crossorigin></script>
<!-- Charge notre composant React -->
<script src="like_button.js"></script>
</body>
Yasha