score:1

  1. useref()which will hold the value of the element you put ref field in like so:

        const arearef = useref(null)
        .
        .
        <listitemtext ref = {arearef} onclick={(ev) => onareaselect(ev)} 
       primary={area} />
    
  2. onchange() has two params : event and value so you can do something like this :

      onchange((event,value)=>onareaselect(event,value))
    

Related Query

More Query from same tag