score:2

i think issue is with your extends,

class listpanel extends react.purecomponent {

it should be

class listpanel extends react.purecomponent {

and also another issue is your render function, you have not return anything. your render function should return like,

class listitem extends react.purecomponent {
    render = () => {
       return(
        <li onclick={this.props.link}> //props.link should be this.props.link
            <div classname="text">
                {this.props.text}
            </div>
        </li>
       )
    }
 }

Related Query

More Query from same tag