import { html, Component } from "/lib/index.js"; class MemberItem extends Component { constructor(props) { super(props); this.handleClick = this.handleClick.bind(this); } shouldComponentUpdate(nextProps) { return this.props.nick !== nextProps.nick; } handleClick(event) { event.preventDefault(); this.props.onClick(); } render() { var url = "irc:///" + encodeURIComponent(this.props.nick) + ",isnick"; return html`