Skip to content

Instantly share code, notes, and snippets.

Carlos charlos

Block or report user

Report or block charlos

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@charlos
charlos / comment_list.js
Last active Feb 22, 2020
Multiple React components on a single HTML page (JS 100%). See it in action! https://jsfiddle.net/charlos/kp7thgqx
View comment_list.js
'use strict';
const e = React.createElement;
class LikeButton extends React.Component {
constructor(props) {
super(props);
this.state = { liked: false };
}
You can’t perform that action at this time.